(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/charge/components/charge-apply-type-combo-box/charge-apply-type-combo-box-view.html','<div class="charge-apply-type-combo-box-wrap">    <style>        .charge-apply-type-combo-box-wrap {            display: inline-block;            vertical-align: middle;            width: 130px;            overflow: hidden;        }            .charge-apply-type-combo-box-wrap .charge-apply-type-combo-box {                width: 100%;            }    </style>    <input id="chargeApplyTypeInput" class="charge-apply-type-combo-box" type="text" /></div>');templateCache.put('/app/charge/components/charge-batch-overdue-receivable-info/charge-batch-overdue-receivable-info-view.html','<div class="charge-order-receivable-wrap">    <style>        .charge-order-receivable-wrap .charge-order-title {            font-size: 18px;        }        #overdue-orders-gird th {            /*font-weight: bold;*/            font-size: 14px;            vertical-align: middle;            text-align: center;        }        #doverdue-orders-gird .k-select-disable {            background: #cfcfcf;        }        .charge-order-receivable-wrap .batch-overdue-order-price .charge-order-overdue-discount {            margin-right: 20px;        }    </style>    <p class="charge-order-title"><span class="glyphicon glyphicon-minus-sign"></span> 欠费</p>    <div class="overdue-source-order-list-wrap">        <div id="overdue-orders-gird" class="ares-data-table"></div>    </div>    <div class="batch-overdue-order-price receivable-block">        <div class="pull-right">            <label class="item-title">欠费折扣</label>            <div class="item-content charge-order-overdue-discount">                <base-number-box-view class="charge-order-discount"                                      bind-value-field="batchOverdueOrderPriceHandle.overdueDiscount"                                      number-box-option="::overdueDiscountBoxOption"                                      on-change="orderEvent.onChangeOverdueDiscount(newValue)"></base-number-box-view>                <label>%</label>            </div>            <label class="item-title">总计</label>            <base-number-box-view class="charge-order-after-discount-plan-price item-content"                                  bind-value-field="batchOverdueOrderPriceHandle.fullAfterDiscountPlanPrice"                                  number-box-option="::fullAfterDiscountPlanPriceBoxOption"                                  on-change="orderEvent.onChangeFullAfterDiscountPlanPrice(newValue)"></base-number-box-view>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-deduction-detail/charge-deduction-detail-view.html','<div class="charge-deduction-execution-detail" ng-class="deductionExecutionChargeDetail.toggled?\'\':\'show-execution-detail-step\'" ng-cloak>    <div class="charge-deduction-execution-summary" ng-click="executionStepsToggle()">        <div class="summary-part">            <span class="iconfont hover-with-pointer" ng-class="deductionExecutionChargeDetail.toggled? \'icon-xiangyouguanbi\':\'icon-xiangxiazhankai\'"                  style="font-size:10px;"></span>        </div>        <div class="summary-part">            <span>{{::deductionExecutionChargeDetail.payDateTime | toLongDateTimeString }}</span>            <span>{{::deductionExecutionChargeDetail.chargeItemName }}</span>            <span>({{ deductionExecutionChargeDetail.executedItemCount+"/"+ deductionExecutionChargeDetail.itemCount }})</span>        </div>        <div class="summary-part pull-right">            <div class="lc-btn-group batch-execution-action" ares-not-archive                 ng-if="isAllowExecutingDeduction && !deductionExecutionChargeDetail.isFinish">                <button type="button" class="lc-btn lc-btn-default default-btn"                        ng-click="showExecutingStepNameList($event)">                    批量执行                </button>                <ul class="dropdown-menu command-list batch-exectuion-step-list">                    <li ng-repeat="stepOption in getCanExecutingStep(deductionExecutionChargeDetail.stepOptions)">                        <a href=""                           ng-click="batchExecutingDeductionStep(stepOption, $event)">                            {{::stepOption.stepName }}                        </a>                    </li>                </ul>            </div>        </div>    </div>    <div ng-show="deductionExecutionChargeDetail && !deductionExecutionChargeDetail.toggled" class="deduction-execution-charge-detail-step-content">        <charge-deduction-detail-menu-view detail-items="deductionExecutionChargeDetail.items"                                           selected-item="currentItem"                                           on-change-selected-item="onChangeSelectedItem(selectedItem)"                                           init-menu-trigger="initMenuTrigger"                                           resize-wrap-trigger="resizeWrapTrigger"></charge-deduction-detail-menu-view>        <charge-deduction-step-view current-detail-item="currentItem"                                    on-action-step="onActionStep(currentItem, actionType, isFullFinish, isOverdueChange)"                                    init-current-item-step-trigger="initCurrentItemStepTrigger"></charge-deduction-step-view>    </div></div>');templateCache.put('/app/charge/components/charge-deduction-detail-menu/charge-deduction-detail-menu-view.html','<div class="charge-deduction-detail-item-menu">    <ul class="show-menu-list">        <li class="menu-item"            ng-repeat="item in showDetailItems track by item.uuid"            ng-class="item.isActive?\'menu-active\':\'\'"            ng-style="{width:item.currentWidth}"            ng-click="onSelectMenu(item)">            <span>{{::getDisplayTitle(item)}}</span>            <span class="iconfont status-icon" ng-class="item.isFinish?\'icon-chenggong\':\'icon-tixingzhuyi\'"></span>        </li>        <li class="more-drop-down-btn-group lc-btn-group" ng-show="hideDetailItems.length>0">            <button class="more-drop-down-btn" data-toggle="dropdown">                <span class="iconfont icon-iconfontgengduo"></span>                <span>更多</span>            </button>            <ul class="dropdown-menu command-list hide-menu-list">                <li ng-repeat="hideItem in hideDetailItems track by hideItem.uuid" class="hide-menu-item"                    ng-click="onSelectMenu(hideItem)">                    <span>{{::getDisplayTitle(hideItem) }}</span>                    <span class="iconfont status-icon"                          ng-class="hideItem.isFinish?\'icon-chenggong\':\'icon-tixingzhuyi\'"></span>                </li>            </ul>        </li>    </ul></div>');templateCache.put('/app/charge/components/charge-deduction-step/charge-deduction-step-view.html','<div class="charge-item-execution-steps-block">    <div class="execution-step" ng-repeat="step in displayExecutionSteps">        <div class="execution-step-head">            <div class="summary-part">                <span class="step-state" ng-class="step.stateStrCssClass">{{step.stateStr}}</span>                <span class="overdue-state-icon" ng-if="step.totalOverdue >0 ">欠</span>                <span ng-if="step.executionTime">{{step.executionTime | toLongDateTimeString}}</span>                <span ng-if="step.executionTime" class="split-line">|</span>                <span class="info-title">编号：</span>                <span class="info-text">{{::step.deductionCode}}</span>                <span class="split-line">|</span>                <span class="info-title">步骤：</span>                <span class="info-title">{{::step.stepName}}</span>                <span ng-if="step.stateStr==\'已跳过\' && step.notes" class="split-line">|</span>                <span ng-if="step.stateStr==\'已跳过\' && step.notes" class="info-title">备注：</span>                <span ng-if="step.stateStr==\'已跳过\' && step.notes" class="info-title" title="{{ step.notes }}"                      style="display: inline-block;vertical-align: top;max-width: 500px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">                    {{ step.notes }}                </span>                <span class="repeatable-sign" ng-show="step.isRepeatable">可多次</span>                <div class="tooth-info" ng-if="currentDetailItem.isHandle">                    <disposal-tooth-selector selected-tooth-codes="step.fdiToothCodesArray"                                             diagnose-item="item"></disposal-tooth-selector>                </div>            </div>            <div class="summary-part pull-right execution-step-action-wrap" style="min-width: 30%;text-align:right">                <span ng-if="step.isRepeatable&&step.state==1">{{step.executedRepeatStepsCount+\'/\'+step.totalRepeatStepsCount}} 次</span>                <span class="hover-with-pointer" style="display:none;" ng-if="stepActions.print.show(canExecuteStep)"                      ng-click="stepActions.print.click(step)">                    <span class="iconfont icon-dayin"></span>                    打印                </span>                <span class="hover-with-pointer" ng-if="stepActions.log.show(step)"                      ng-click="stepActions.log.click(step)">                    <span class="iconfont icon-rizhi"></span>                    日志({{step.operationLogCount}})                </span>                <span class="hover-with-pointer" ng-if="stepActions.skip.show(step)"                      ng-click="stepActions.skip.click(step.canExecuteStep, step.totalExecutingStepPrice)">                    <span class="iconfont icon-tiaoguo"></span>                    跳过                </span>                <span class="hover-with-pointer" ng-if="stepActions.cancel.show(step)"                      ng-click="stepActions.cancel.click(step)">                    <span class="iconfont icon-chexiao"></span>                    撤回                </span>                <span class="hover-with-pointer" ng-if="stepActions.execute.show(step)"                      ng-click="stepActions.execute.click(step.canExecuteStep, step.totalExecutingStepPrice)">                    <span class="iconfont icon-zhihang"></span>                    执行                </span>                <span class="hover-with-pointer"                      ng-if="stepActions.finish.show(step.canExecuteStep)"                      ng-click="stepActions.finish.click(step.canExecuteStep)">                    <span class="iconfont icon-jieshu"></span>                    标记结束                </span>            </div>        </div>        <div>            <div class="execution-step-body with-border" ng-repeat="repeatStep in step.displaySubSteps">                <div class="summary-part step-execution-info" ng-show="repeatStep.state!=3">                    <div class="step-execution-info-block repeat-execute-index"                         ng-show="repeatStep.isRepeatable&&repeatStep.state==1">                        <span class="repeat-execute-index">第 {{::repeatStep.repeatIndex}} 次执行</span>                        <span class="info-title">时间：</span>                        <span class="info-text">{{repeatStep.executionTime | toLongDateTimeString}}</span>                        <span class="split-line">|</span>                    </div>                    <div class="step-execution-info-block" ng-show="repeatStep.doctorName">                        <span class="info-title">医生：</span>                        <span class="info-text">{{::repeatStep.doctorName}}</span>                    </div>                    <div class="step-execution-info-block" ng-show="repeatStep.nurseName">                        <span class="split-line">|</span>                        <span class="info-title">护士：</span>                        <span class="info-text">{{::repeatStep.nurseName}}</span>                    </div>                    <div class="step-execution-info-block" ng-show="repeatStep.extraProviderName">                        <span class="split-line">|</span>                        <span class="info-title">其他人员：</span>                        <span class="info-text">{{::repeatStep.extraProviderName}}</span>                    </div>                    <div class="step-execution-info-block" ng-show="allowChargeDeductionManHours&&repeatStep.state==1">                        <span class="split-line">|</span>                        <span class="info-title">所耗工时：</span>                        <span class="info-text">{{::repeatStep.manHourCount}}分钟</span>                    </div>                    <div class="step-execution-info-block" ng-show="repeatStep.notes">                        <span class="split-line">|</span>                        <span class="info-title">备注：</span>                        <span class="info-text" title="{{::repeatStep.notes}}"                              style="display: inline-block;vertical-align: top;max-width: 500px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">                            {{::repeatStep.notes}}                        </span>                    </div>                    <div class="cancel-repeat-step"                         ng-if="stepActions.cancel.show(repeatStep) && repeatStep.isRepeatable && repeatStep.state==1"                         ng-click="stepActions.cancel.click(repeatStep)">                        <span class="iconfont icon-chexiao"></span>                        撤回                    </div>                </div>                <div class="summary-part" style="display:block;margin-top:5px;"                     ng-show="isConnectYongyouHrp&&repeatStep.state==1&&repeatStep.productsConfig&&repeatStep.productsConfig.length>0">                    <div class="summary-part" style="display:block;">                        <span>使用耗材：</span>                    </div>                    <table class="step-products-table" style="margin-top:10px;">                        <thead>                            <tr>                                <th width="25%" style="max-width:195px;">名称</th>                                <th width="25%" style="max-width:195px;">品牌</th>                                <th width="20%" style="max-width:155px;">规格</th>                                <th width="15%" style="max-width:116px;">单位</th>                                <th width="15%" style="max-width:116px;">数量</th>                            </tr>                        </thead>                    </table>                    <table class="step-products-table" style="margin-top: 7px;">                        <tbody>                            <tr ng-repeat="productConfig in repeatStep.productsConfig">                                <td width="25%" style="max-width:195px;">{{productConfig.product.name}}</td>                                <td width="25%" style="max-width:195px;">{{productConfig.product.producer}}</td>                                <td width="20%" style="max-width:155px;">{{productConfig.product.specification}}</td>                                <td width="15%" style="max-width:116px;">{{productConfig.product.unit}}</td>                                <td width="15%" style="max-width:116px;">{{productConfig.count}}</td>                            </tr>                        </tbody>                    </table>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-detail-price-allot/charge-detail-price-allot-manager-view.html','<div class="charge-detail-allot-wrap">    <a class="icon-btn icon-distribution" title="分配至项目" ng-if="allowAllotChargeDetailMethod()"       data-toggle="tooltip" data-placement="top" ng-click="openCustomAllotDialog()">    </a></div>');templateCache.put('/app/charge/components/charge-gift-card-action/charge-gift-card-action-view.html','<div class="gift-card-action-wrap">    <style scoped>        .gift-card-action-wrap {            min-width: 600px;        }            .gift-card-action-wrap input, .gift-card-action-wrap button {                display: inline-block;                vertical-align: middle;                box-sizing: border-box;            }            .gift-card-action-wrap label {                display: inline-block;                vertical-align: middle;                line-height: 34px;            }            .gift-card-action-wrap .gift-card-balance {                margin: 0 10px;            }            .gift-card-action-wrap .gift-card-search-ipnut {                display: inline-block;                vertical-align: middle;                width: 240px;            }            .gift-card-action-wrap .gift-card-read-btn {                display: inline-block;                vertical-align: middle;            }            .gift-card-action-wrap .gift-card-price-text {                font-weight: 400;            }    </style>    <label class="gift-card-number" ng-if="!allowEditMethod()">{{ useChargeGiftCard.cardNo }}</label>    <input type="text" class="form-control gift-card-search-ipnut"           placeholder="请输入卡号或读卡" ng-model="searchGiftCardNo"           ng-blur="onBlurGiftCardNo()" ng-show="allowEditMethod()"           ng-disabled="hasUseChargeGiftCard()" />    <button class="lc-btn lc-btn-default gift-card-read-btn"            ng-click="getGiftCardNoByReader()" ng-show="allowEditMethod() && canReadICcard()">        读卡    </button>    <label class="gift-card-balance" ng-show="allowEditMethod() && hasSearchedGiftCard()">        卡内余额:        <span class="gift-card-price-text">{{ searchedGiftCard.balance.toFixed(2) }}</span>        元    </label>    <button class="btn btn-default gift-card-use-btn"            ng-click="onUseSearchedGiftCard()" ng-show="isShowUseGiftCardBtn()">        使用    </button>    <button class="btn btn-default gift-card-use-btn"            ng-click="onCancelUsedGiftCard()" ng-show="allowEditMethod() && hasUseChargeGiftCard()">        取消使用    </button></div>');templateCache.put('/app/charge/components/charge-item-combo-box/charge-item-combo-box-view.html','<div class="charge-item-combo-box-wrap" style="" ng-hide="isBrowse">    <style scoped>        .charge-item-combo-box-wrap {            overflow: hidden;            display: inline-block;            vertical-align: middle;        }            .charge-item-combo-box-wrap .charge-item-combo-box {                max-width: 350px;            }        #chargeItemComboBox-list span {            font-size: 14px;        }        #chargeItemComboBox-list .select-item {            text-transform: uppercase;            font-size: 0;        }        #chargeItemComboBox-list .item-code {            display: inline-block;            vertical-align: middle;            width: 70px;            max-width: 70px;            margin-left: 10px;            word-break: break-word;        }        #chargeItemComboBox-list .item-name {            display: inline-block;            vertical-align: middle;            width: 180px;            max-width: 180px;            padding-left: 5px;        }        #chargeItemComboBox-list .item-unit-price {            display: inline-block;            vertical-align: middle;            width: 50px;            max-width: 50px;        }        #chargeItemComboBox-list .item-header {            border-width: 0 0 1px 0;            text-transform: uppercase;            background-color: #e6dede;            font-size: 0;        }            #chargeItemComboBox-list .item-header .item-code {                padding: 5px;            }    </style>    <input id="chargeItemComboBox" class="charge-item-combo-box" style="width:350px" /></div>');templateCache.put('/app/charge/components/charge-item-select-tree/charge-item-select-tree-view.html','<div class="panel panel-primary charge-panel charge-item-tree-wrap">    <style scoped>        .charge-item-tree-wrap .charge-item-tree-title {            font-size: 16px;            line-height: 34px;        }        .charge-item-tree-wrap .super-category-wrap {            margin-bottom: 10px;        }        .charge-item-tree-wrap .k-treeview .k-item .k-icon {            margin-top: 10px;        }        .charge-item-tree-wrap .k-item .k-in {            margin-left: 0;            white-space: normal;            vertical-align: text-top;        }        .charge-item-tree-wrap .charge-item-selelct-tree .k-plus {            width: 22px;            height: 16px;            margin-right: 5px;            background-image: url(images/icon-dropdown.png);            background-position: 0 -32px;            background-size: 66px 48px;            background-repeat: no-repeat;        }            .charge-item-tree-wrap .charge-item-selelct-tree .k-plus:hover {                background-position: -22px -32px;            }        .charge-item-tree-wrap .charge-item-selelct-tree .k-minus {            width: 22px;            height: 16px;            margin-right: 5px;            background-image: url(images/icon-dropdown.png);            background-position: -44px 0;            background-size: 66px 48px;            background-repeat: no-repeat;        }            .charge-item-tree-wrap .charge-item-selelct-tree .k-minus:hover {                background-position: -22px 0;            }        .charge-item-tree-wrap .spu-list {        }            .charge-item-tree-wrap .spu-list .spu-list-content {                width: 100%;            }            .charge-item-tree-wrap .spu-list .spu-list-li:first-child {                margin-top: 0;            }            .charge-item-tree-wrap .spu-list .spu-list-li {                margin-top: 5px;                background-color: #fff;            }                .charge-item-tree-wrap .spu-list .spu-list-li:not(.sales-off-item):hover {                    box-shadow: 1px 1px 1px 1px #dedede;                }                    .charge-item-tree-wrap .spu-list .spu-list-li:not(.sales-off-item):hover .spu-head {                        background: #4a90e2;                    }                        .charge-item-tree-wrap .spu-list .spu-list-li:not(.sales-off-item):hover .spu-head .sup-info .spec,                        .charge-item-tree-wrap .spu-list .spu-list-li:not(.sales-off-item):hover .spu-head .sup-info .title {                            color: #fff;                        }                .charge-item-tree-wrap .spu-list .spu-list-li .sales-off-wrap {                    position: absolute;                    top: 0;                    bottom: 0;                    width: 100%;                    height: 100%;                    background-image: url(images/bg-product-sales-off.png);                    background-position: right;                    background-size: 130px;                    background-repeat: no-repeat;                    background-color: rgba(255,255,255,0.4);                }        .charge-item-tree-wrap .spu-list-li table {            width: 100%;        }        .charge-item-tree-wrap .spu-list .table-header {            background: #4a90e2;            margin-top: 5px;            margin-bottom: 5px;        }            .charge-item-tree-wrap .spu-list .table-header table tr th {                text-align: center;                font-weight: normal;                padding: 3px 0;                color: #fff;                height: 24px;            }        .charge-item-tree-wrap .spu-list-li {            position: relative;        }            .charge-item-tree-wrap .spu-list-li table tr {                font-size: 13px;                color: #575d6a;            }            .charge-item-tree-wrap .spu-list-li .table-main {                border-right: 1px solid #D6D9DF;                border-left: 1px solid #D6D9DF;            }                .charge-item-tree-wrap .spu-list-li .table-main table {                    table-layout: fixed;                    word-break: break-all;                }                    .charge-item-tree-wrap .spu-list-li .table-main table tr {                        border-bottom: 1px solid #D6D9DF;                        cursor: pointer;                    }                        .charge-item-tree-wrap .spu-list-li .table-main table tr:nth-child(even) {                            background-color: #eff7ff;                        }                        .charge-item-tree-wrap .spu-list-li .table-main table tr:hover {                            background-color: #E0FAFF;                        }                        .charge-item-tree-wrap .spu-list-li .table-main table tr td {                            height: 24px;                        }            .charge-item-tree-wrap .spu-list-li table tr .icon-addition_fill {                font-size: 17px;                color: #00a6c9;            }            .charge-item-tree-wrap .spu-list-li table tr .disabled .icon-addition_fill {                color: #D6D9DF            }            .charge-item-tree-wrap .spu-list-li .spu-head {                border: 1px solid #D6D9DF;                border-bottom: 0;                background: #d3dce6;            }                .charge-item-tree-wrap .spu-list-li .spu-head .spu-img-body {                    height: 100%;                    padding-right: 0;                    display: inline-block;                    vertical-align: middle;                }                    .charge-item-tree-wrap .spu-list-li .spu-head .spu-img-body .spu-img {                        margin: auto;                        text-align: center                    }                        .charge-item-tree-wrap .spu-list-li .spu-head .spu-img-body .spu-img img {                            width: 60px;                            height: 60px;                            margin: 5px;                        }                .charge-item-tree-wrap .spu-list-li .spu-head .sup-info {                    display: inline-block;                    vertical-align: middle;                    padding-right: 0;                    padding-left: 0;                    width: calc(100% - 83px);                }                    .charge-item-tree-wrap .spu-list-li .spu-head .sup-info .spec {                        font-size: 13px;                        color: #575d6a;                        line-height: 1.5em;                    }                    .charge-item-tree-wrap .spu-list-li .spu-head .sup-info .title {                        color: #2f2e2e;                        font-size: 14px;                        width: 100%;                    }        .charge-item-tree-wrap .single-line-text {            width: 100%;            display: block;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;        }        .charge-item-tree-wrap .charge-item-tree-content {            padding-top: 15px;        }            .charge-item-tree-wrap .charge-item-tree-content .panel-body {                padding-top: 0;            }        .charge-item-tree-wrap .charge-sale-select-tree .charge-sale-item-type {            font-size: 0;        }            .charge-item-tree-wrap .charge-sale-select-tree .charge-sale-item-type .type-select-item {                display: inline-block;                vertical-align: middle;                width: calc((100% - 10px) / 2);                min-width: 120px;                font-size: 14px;            }    </style>    <div class="panel-heading charge-panel-heading" style="padding:5px 15px !important;">        <span class="charge-item-tree-title">{{ ::(itemType ==\'simple\'?\'收费类别列表\':\'收费项目列表\') }}</span>    </div>    <div class="charge-item-tree-content">        <div class="panel-body" style="padding-bottom:5px;" ng-show="isProductSaleEnabled">            <label class="auto-width" style="margin-right:15px;margin-bottom: 0">                <input type="radio" name="chargeItemType" ng-value="0"                       ng-model="currentData.chargeItemType" value="0"                       class="radioChargeItemType">&nbsp;诊疗服务            </label>            <label class="auto-width" style="margin-bottom: 0">                <input type="radio" name="chargeItemType" ng-value="1"                       ng-model="currentData.chargeItemType" value="1"                       class="radioChargeItemType">&nbsp;商品销售            </label>        </div>        <div class="panel-body itemlist" ng-if="currentData.chargeItemType == 0">            <div class="super-category-wrap" ng-hide="itemType == \'yibao\'" ng-cloak>                <input type="text" id="super-category-select"                       style="width:220px;" />            </div>            <div class="charge-item-selelct-tree"                 kendo-tree-view="chargeItemTree"                 k-template="chargeItemTreeViewTemplate"                 k-data-text-field="[\'treeLabelText\',\'itemName\']"                 k-data-source="kendoTreeSourceData"                 ng-dblclick="onDoubleClickItem($event)"                 style="overflow-y:auto;">            </div>        </div>        <div ng-if="currentData.chargeItemType == 1" class="itemlist charge-sale-select-tree">            <div class="charge-sale-item-type">                <div class="type-select-item">                    <input class="super-category" style="width:100%" />                </div>                <div class="type-select-item" style="margin-left: 10px">                    <input class="category" style="width:100%" />                </div>            </div>            <div class="spu-list">                <div class="table-header">                    <table style="width: 100%;">                        <tr>                            <th style="width:40%;text-align: left;padding-left: 10px;">规格</th>                            <th style="width:15%;">单位</th>                            <th style="width:15%;">售价</th>                            <th style="width:20%;">库存数</th>                            <th style="width:10%;"></th>                        </tr>                    </table>                </div>                <div class="spu-list-content" style="border-bottom: 1px solid #e3e3e3;">                    <div class="spu-list-li" ng-class="productUnity.isSalesEnabled?\'\':\'sales-off-item\'"                         ng-repeat="productUnity in currentProductUnityList"                         ng-if="productUnityList && productUnityList.length > 0">                        <div class="sales-off-wrap" ng-show="!productUnity.isSalesEnabled"></div>                        <div class="spu-head">                            <div class="spu-img-body">                                <div class="spu-img">                                    <img ng-show="productUnity.imgUrl"                                         width="54" height="58"                                         style="border: 1px solid rgb(227, 227, 227);"                                         ng-src="{{productUnity.imgUrl}}">                                    <img ng-show="!productUnity.imgUrl"                                         ng-src="images/defaultimg.png"                                         width="54" height="58"                                         style="border: 1px solid rgb(227, 227, 227);">                                </div>                            </div>                            <div class="sup-info">                                <div class="spec title single-line-text" title="{{productUnity.name}}">                                    {{productUnity.name}}                                </div>                                <div>                                    <div class="spec single-line-text" title="{{productUnity.producer}}">                                        <span>品牌：{{productUnity.producer}} </span>                                    </div>                                </div>                                <div>                                    <div class="spec single-line-text" title="{{productUnity.category}}">                                        <span>所属大类：{{productUnity.category}} </span>                                    </div>                                </div>                            </div>                        </div>                        <div class="table-main">                            <table>                                <tr ng-repeat="product in productUnity.products"                                    ng-click="addChargeItemToChargeOrderDetail(product)">                                    <td style="width:40%;text-align:left;text-indent: 10px;">                                        <span class="single-line-text" title="{{product.specification}}">                                            {{product.specification}}                                        </span>                                    </td>                                    <td style="width:15%;text-align:center;">                                        <span class="single-line-text" title="{{product.unit}}">                                            {{product.unit}}                                        </span>                                    </td>                                    <td style="width:15%;text-align:center;">                                        <span class="single-line-text" title="{{product.code}}">                                            {{product.chargeItem.price}}                                        </span>                                    </td>                                    <td style="width:20%;text-align:center;">                                        <span class="single-line-text" title="{{product.sumCount}}">                                            {{product.sumCount}}                                        </span>                                    </td>                                    <td style="width:10%;text-align:center;" class="in-order-action-btn">                                        <span ng-if="!product.isCharged && !product.isDisabled" class="remark">                                            <i class="iconfont icon-addition_fill"></i>                                        </span>                                        <span ng-if="product.isCharged && !product.isDisabled" class="remark disabled">                                            <i class="iconfont icon-addition_fill"></i>                                        </span>                                    </td>                                </tr>                            </table>                        </div>                    </div><!-- spu-list-li -->                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-order-detail-table/charge-order-detail-table-view.html','<div class="charge-data-table-wrap" id="charge-detail-table-content">    <table class="table charge-detail-table" id="charge-detail-action-table"           ares-if="::isShowTable" ares-resize="onResizeTable(width, height)">        <thead>            <tr>                <th class="detail-stutas-size" ares-show="hasSpecialChargeDetailStatus"></th>                <th class="text-left tooth-cell-size" ares-if="::isShowTooth">牙位</th>                <th class="text-left rc-cell-size" ares-if="::isRC">绩效科室</th>                <th class="text-left title-cell-size">项目名称</th>                <th class="text-left unit-cell-size" ares-if="::(isDetail && !isAdvanceOrder)">单位</th>                <th class="text-left price-cell-size">单价</th>                <th class="text-left count-cell-size" ares-if="::(isDetail && !isAdvanceOrder)">数量</th>                <th class="text-left total-price-cell-size" ares-if="::isShowPlanPrice">金额</th>                <th class="text-left discount-cell-size" ares-show="::isShowEditDiscount()">折扣%</th>                <th class="text-left count-cell-size" ares-if="::(isDetail && !isAdvanceOrder)" ares-hide="::isShowEditDiscount()">参与单项打折</th>                <th class="text-left count-cell-size" ares-if="::(isDetail && !isAdvanceOrder)">参与整单打折</th>                <th class="text-left performance-cell-size" ares-show="isShowPerformanceDoctor">医生</th>                <th class="text-left performance-cell-size" ares-show="isShowPerformanceNurse">护士</th>                <th class="text-left performance-cell-size" ares-show="isShowPerformanceConsultant">咨询师</th>                <th class="text-center code-cell-size"                    ares-show="isShowCommandColumn()">                    操作                </th>            </tr>        </thead>        <tbody ares-show="::isReady">            <tr ng-repeat="item in chargeDetailList track by item.timesTampkey" index="{{ ::$index }}"                class="{{ item.statusClass }}">                <td class="detail-stutas-size" ares-show="hasSpecialChargeDetailStatus">                    <p ng-class="item.isPreferentialCancel?\'detail-stutas-block-cancel\':\'detail-stutas-block\'"                       ng-click="disableOrEnableDetailStatusBlock(item)"                       index="{{ ::$index }}">{{ item.statusStr }}</p>                </td>                <td class="tooth-cell-size" ares-show="::isShowTooth">                    <disposal-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                             selected-tooth-item="onChangeItemTooth(item, $index)"                                             diagnose-item="item"                                             is-enable-method="checkAllowEditTooth()"></disposal-tooth-selector>                </td>                <td class="rc-cell-size" ares-if="::isRC">                    <base-drop-down-list-view class="rc-cell-size"                                              custom-id="{{ ::($index + \'-rc-drop-down-list\') }}"                                              value-field=\'itemName\'                                              text-field=\'itemName\'                                              bind-value-field="item.department"                                              bind-data-source="::rcDropDownSourceData"                                              drop-down-list-option="::rcDropDownListOption"                                              default-index="0"></base-drop-down-list-view>                </td>                <td class="title-cell-size">                    <span class="single-line-text" style="max-width:160px;display:inline-block;" title="{{::item.name}}">{{ ::item.name }}</span>                    <span class="tag-wrap" ng-bind-html="item.displayTag" style="vertical-align:top;"></span>                    <span class="single-line-text" title="{{item.notes}}" style="max-width:250px;display:block"                          ares-show="::isShowNotes">{{item.notes}}</span>                </td>                <td class="unit-cell-size" ares-if="::(isDetail && !isAdvanceOrder)">{{ ::item.unit }}</td>                <td class="price-cell-size">                    <base-number-box-view class="price-cell-size"                                          bind-value-field="item.price"                                          bind-context="item"                                          number-box-option="::priceBoxOption"                                          custom-id="{{ ::($index + \'-price-input\') }}"></base-number-box-view>                </td>                <td class="count-cell-size" ares-if="::(isDetail && !isAdvanceOrder)">                    <base-number-box-view class="count-cell-size"                                          bind-value-field="item.count"                                          bind-context="item"                                          number-box-option="::countBoxOption"                                          default-decimals="{{ item.productId?\'0\':\'2\' }}"                                          custom-id="{{ ::($index + \'-count-input\') }}"></base-number-box-view>                </td>                <td class="total-price-cell-size" ares-show="::isShowPlanPrice">                    <base-number-box-view class="price-cell-size"                                          bind-value-field="item.afterDiscountPlanPrice"                                          bind-context="item"                                          number-box-option="::totalPriceBoxOption"                                          custom-id="{{ ::($index + \'-total-price-input\') }}"></base-number-box-view>                </td>                <td class="discount-cell-size" ares-show="::isShowEditDiscount()">                    <div style="margin: 0px; padding: 0px;" class="detail-discount-border">                        <base-number-box-view class="price-cell-size"                                              bind-value-field="item.discount"                                              bind-context="item"                                              number-box-option="::discountBoxOption"                                              custom-id="{{ ::($index + \'-discount-input\') }}"></base-number-box-view>                    </div>                </td>                <td class="count-cell-size"                    ares-if="::(isDetail && !isAdvanceOrder)"                    ares-hide="::isShowEditDiscount()">                    {{ ::(item.isAllowDiscount()|toBoolString) }}                </td>                <td class="count-cell-size"                    ares-if="::(isDetail && !isAdvanceOrder)">                    {{ ::(item.isAllowOrderDiscount()|toBoolString) }}                </td>                <td class="performance-cell-size" ares-if="isShowPerformanceDoctor">                    <base-combo-box-view class="performance-combo-box"                                         bind-text-field="item.doctorName"                                         bind-value-field="item.doctorId"                                         bind-data-source="::item.performance.doctorList"                                         combo-box-option="::doctorComboBoxOption"                                         placeholder="请选择医生"></base-combo-box-view>                </td>                <td class="performance-cell-size" ares-if="isShowPerformanceNurse">                    <base-combo-box-view class="performance-combo-box"                                         bind-text-field="item.nurseName"                                         bind-value-field="item.nurseId"                                         bind-data-source="::item.performance.nurseList"                                         combo-box-option="::nurseComboBoxOption"                                         placeholder="请选择护士"></base-combo-box-view>                </td>                <td class="performance-cell-size" ares-if="isShowPerformanceConsultant">                    <base-combo-box-view class="performance-combo-box"                                         bind-text-field="item.consultantName"                                         bind-value-field="item.consultantId"                                         bind-data-source="::item.performance.consultantList"                                         combo-box-option="::consultantComboBoxOption"                                         placeholder="请选择咨询师"></base-combo-box-view>                </td>                <td class="text-center table-item-action" style="vertical-align: middle"                    ares-show="isShowCommandColumn()">                    <a class="charge-detail-item-remove" ng-show="check(\'allowDeleteChargeDetail\', false, item)"                       ng-click="onDeleteItem(item, $index)" title="删除">                        <span class="glyphicon glyphicon-trash"></span>                    </a>                    <a class="charge-detail-item-remove" ng-show="check(\'allowShowShangbaoItemDetail\',false)"                       ng-click="onShowShangbaoDetail($index)" title="详情">                        <span class="glyphicon glyphicon-eye-open"></span>                    </a>                    <a class="charge-detail-item-remove" ng-show="isShowCreateInventory(item)"                       ng-click="onCreateTakeOrder(item, $index)" title="创建领用单"                       style="width: auto;"                       sensors-enabled="true" sensors-event-name="ChargeOrder" sensors-event-type="领用">                        <span class="iconfont icon-lingyong"></span>                    </a>                    <a class="charge-detail-item-remove" ng-show="isShowUseCriticalProduct(item)"                       ng-click="onUseCriticalProduct(item, $index)" title="使用高值耗材"                        style="width: auto;"                       sensors-enabled="true" sensors-event-name="ChargeOrder" sensors-event-type="使用耗材">                        <span class="iconfont icon-zhihang"></span>                    </a>                </td>            </tr>        </tbody>    </table></div>');templateCache.put('/app/charge/components/charge-order-extend-info/charge-order-extend-info-view.html','<div class="charge-order-extend-wrap enyo">    <style scoped>        .charge-order-extend-wrap .diagnosis-combo-box input {            max-width: 350px;        }        .charge-order-extend-wrap .invoice-number-box {            width: 200px;        }        .charge-order-extend-wrap .order-form-item .invoice-package-list {            width: 220px;        }        .charge-order-extend-wrap .order-form-item .other-action-btn {            height: 32px;            display: inline-block;            vertical-align: middle;            box-sizing: border-box;            padding: 7px 2px;            margin: 0 0 0 5px;            font-size: 15px;        }        .charge-order-extend-wrap .doctor-performance-disabled {            cursor: not-allowed;            pointer-events: none;        }        #chargeOrderExtendDiagnosisComboBox-list span {            font-size: 14px;        }        #chargeOrderExtendDiagnosisComboBox-list .select-item {            text-transform: uppercase;            font-size: 0;        }        #chargeOrderExtendDiagnosisComboBox-list .item-code {            display: inline-block;            vertical-align: middle;            width: 130px;            max-width: 130px;            margin-left: 10px;            padding: 5px;        }        #chargeOrderExtendDiagnosisComboBox-list .item-name {            display: inline-block;            vertical-align: middle;            width: 150px;            max-width: 150px;        }        #chargeOrderExtendDiagnosisComboBox-list .item-header {            border-width: 0 0 1px 0;            text-transform: uppercase;            background-color: #e6dede;            font-size: 0;        }            #chargeOrderExtendDiagnosisComboBox-list .item-header .item-code {                padding: 5px;            }        .charge-order-extend-wrap .charge-order-action-info-hint {            display: inline-block;            font-size: 14px;            vertical-align: top;            margin-left: 10px;        }            .charge-order-extend-wrap .charge-order-action-info-hint span {                height: 32px;                background: #ffda9c;                padding: 0 10px;                box-sizing: border-box;                display: inline-block;                line-height: 32px;                min-width: 80px;            }    </style>    <div class="order-form-row" ares-show="isShowPayDataTimeMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                收费时间<b class="require">*</b>：            </label>            <input class="form-control order-form-item-content" id="charge-order-pay-date-time" />            <button class="btn btn-default" style="margin: 0 10px;"                    ng-show="isShowAppendChargeBtn()"                    ng-click="switchIsAppendEnalbed()">                {{isAppendChargeEnable?\'停用补录\':\'启动补录\'}}            </button>        </div>        <div class="order-form-item yibao-inpatient-number" ares-if="::isShowInsuranceInfo">            <label class="order-form-item-text">                住院号：            </label>            <input ng-model="chargeOrderPriceHandle.insuranceInfo.inpatientNumber"                   class="order-form-item-content form-control"                   ng-disabled="true">        </div>    </div>    <div class="order-form-row">        <div ares-if="isShowPayeeMethod()" class="order-form-item payee-info-block">            <label class="order-form-item-text">                收费人<b class="require">*</b>：            </label>            <base-combo-box-view class="order-form-item-content payee-combo-box"                                 bind-text-field="chargeOrderPriceHandle.payeeName"                                 bind-value-field="chargeOrderPriceHandle.payeeId"                                 bind-data-source="payeeList"                                 combo-box-option="payeeComboBoxOption"                                 placeholder="请选择收款人"></base-combo-box-view>        </div>        <div ares-show="isShowAppointmentMtehod()" class="order-form-item">            <label class="order-form-item-text">                就诊时间<b class="require">*</b>：            </label>            <div class="order-form-item-content">                <base-drop-down-list-view class="appointment-drop-down-list"                                          text-field="startTimeStr"                                          value-field="id"                                          bind-text-field="appointmentAssist.startTimeStr"                                          bind-value-field="appointmentAssist.id"                                          bind-data-source="appointmentAssist.historyAppointments"                                          drop-down-list-option="appointmentDropDownListOption">                </base-drop-down-list-view>                <div class="appointment-date-time-box" ares-show="isShowEditAppointmentDatetime()">                    <input type="text" class="appointment-date-time"                           ng-model="chargeOrderPriceHandle.appointmentDataTime"                           k-ng-model="chargeOrderPriceHandle.appointmentDataTime" />                </div>            </div>        </div>    </div>    <div class="order-form-row" ares-show="isShowDoctorMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                医生<b class="require" ng-show="isRequireDoctor()">*</b>：            </label>            <base-combo-box-view class="order-form-item-content doctor-combo-box"                                 bind-text-field="chargeOrderPriceHandle.performanceInfo.doctorName"                                 bind-value-field="chargeOrderPriceHandle.performanceInfo.doctorId"                                 bind-data-source="chargeOrderPriceHandle.performance.doctorList"                                 combo-box-option="doctorComboBoxOption"                                 placeholder="请选择医生"></base-combo-box-view>            <div class="allot-performance-btn" ng-show="!yibaoWorkflowManager.isHideDoctorPerformance && isShowAllotPerfromance()">                <a class="icon-distribution"                   ng-click="allotPerformanceClickable() && chargeOrderPriceHandle.performance.customEditDetailPerformance(detailPerformanceEditOptions)"></a>            </div>            <div class="charge-order-action-info-hint" ng-if="chargeOrderEventInfo.doctorCrossOfficeWarnInfo">                <span class="show-save-workflow-hint">                    {{chargeOrderEventInfo.doctorCrossOfficeWarnInfo}}                </span>            </div>        </div>    </div>    <div class="order-form-row" ares-show="isShowNurseMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                护士<b class="require" ng-show="isRequireNurse()">*</b>：            </label>            <base-combo-box-view class="order-form-item-content nurse-combo-box"                                 bind-text-field="chargeOrderPriceHandle.performanceInfo.nurseName"                                 bind-value-field="chargeOrderPriceHandle.performanceInfo.nurseId"                                 bind-data-source="chargeOrderPriceHandle.performance.nurseList"                                 combo-box-option="nurseComboBoxOption"                                 placeholder="请选择护士"></base-combo-box-view>            <div class="allot-performance-btn" ng-show="isShowAllotPerfromance()">                <a class="icon-distribution"                   ng-click="allotPerformanceClickable() && chargeOrderPriceHandle.performance.customEditDetailPerformance(detailPerformanceEditOptions)"></a>            </div>            <div class="charge-order-action-info-hint" ng-if="chargeOrderEventInfo.nurseCrossOfficeWarnInfo">                <span class="show-save-workflow-hint">                    {{chargeOrderEventInfo.nurseCrossOfficeWarnInfo}}                </span>            </div>        </div>    </div>    <div class="order-form-row" ares-show="isShowConsultantMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                咨询师<b class="require" ng-show="isRequireConsultant()">*</b>：            </label>            <base-combo-box-view class="order-form-item-content consultant-combo-box"                                 bind-text-field="chargeOrderPriceHandle.performanceInfo.consultantName"                                 bind-value-field="chargeOrderPriceHandle.performanceInfo.consultantId"                                 bind-data-source="chargeOrderPriceHandle.performance.consultantList"                                 combo-box-option="consultantComboBoxOption"                                 placeholder="请选择咨询师"></base-combo-box-view>            <div class="allot-performance-btn" ng-show="isShowAllotPerfromance()">                <a class="icon-distribution"                   ng-click="allotPerformanceClickable() && chargeOrderPriceHandle.performance.customEditDetailPerformance(detailPerformanceEditOptions)"></a>            </div>            <div class="charge-order-action-info-hint" ng-if="chargeOrderEventInfo.consultantCrossOfficeWarnInfo">                <span class="show-save-workflow-hint">                    {{chargeOrderEventInfo.consultantCrossOfficeWarnInfo}}                </span>            </div>        </div>    </div>    <div class="order-form-row" ares-show="isShowSellerMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                销售人员<b class="require" ng-show="isRequireSeller()">*</b>：            </label>            <base-combo-box-view class="order-form-item-content consultant-combo-box"                                 bind-text-field="chargeOrderPriceHandle.performanceInfo.sellerName"                                 bind-value-field="chargeOrderPriceHandle.performanceInfo.sellerId"                                 bind-data-source="chargeOrderPriceHandle.performance.sellerList"                                 combo-box-option="sellerComboBoxOption"                                 placeholder="请选择销售人员"></base-combo-box-view>            <div class="allot-performance-btn" ng-show="isShowAllotPerfromance()">                <a class="icon-distribution"                   ng-click="isAllowEditSellerPerformance() && chargeOrderPriceHandle.performance.customEditDetailPerformance(detailPerformanceEditOptions)"></a>            </div>        </div>    </div>    <div class="order-form-row" ng-show="invoiceAssist.canAction()">        <div class="order-form-item">            <label class="order-form-item-text">发票号：</label>            <input ng-if="invoiceAssist.isPrinted()"                   type="text" class="order-form-item-content form-control"                   ng-model="invoiceAssist.currentNumber"                   ng-disabled="true" />            <a class="other-action-btn" ng-click="invoiceAssist.cancelNumber()"               kendo-tooltip k-content="\'作废\'" k-position="\'top\'" ng-if="invoiceAssist.isPrinted()">                <span class="glyphicon glyphicon-ban-circle"></span>            </a>            <div class="order-form-item-content" style="min-width: 255px;">                <label class="order-form-item-text" style="width:auto;" ng-if="!invoiceAssist.isPrinted()">{{invoiceAssist.currentInvoiceNoRule.prefix}}</label>                <input ng-if="!invoiceAssist.isPrinted()"                       type="text" class="order-form-item-content invoice-number-box form-control"                       ng-model="invoiceAssist.currentValue"                       ng-blur="invoiceAssist.onCurrentValueChanged()" />            </div>            <!--<a class="other-action-btn" ng-click="invoiceAssist.numberRefresh()"       kendo-tooltip k-content="\'刷新\'" k-position="\'top\'" ng-if="!invoiceAssist.isPrinted()">        <span class="glyphicon glyphicon-refresh"></span>    </a>-->            <!--<a class="other-action-btn" ng-click="invoiceAssist.lastNumber()"       kendo-tooltip k-content="\'上一个\'" k-position="\'top\'" ng-if="!invoiceAssist.isPrinted()">        <span class="glyphicon glyphicon-chevron-left"></span>    </a>    <a class="other-action-btn" ng-click="invoiceAssist.nextNumber()"       kendo-tooltip k-content="\'下一个\'" k-position="\'top\'" ng-if="!invoiceAssist.isPrinted()">        <span class="glyphicon glyphicon glyphicon-chevron-right"></span>    </a>-->        </div>        <div class="order-form-item" ng-show="!invoiceAssist.isPrinted()">            <label class="order-form-item-text">发票包：</label>            <base-drop-down-list-view class="order-form-item-content invoice-package-list"                                      text-field="packageTextLabel"                                      value-field="id"                                      bind-value-field="invoiceAssist.usedPackageId"                                      bind-data-source="invoiceAssist.packageList"                                      drop-down-list-option="invoiceAssist.packageListOption">        </div>    </div>    <div class="order-form-row" ares-show="isShowDiagnosisMethod()">        <div class="order-form-item">            <label class="order-form-item-text">                诊断：            </label>            <!--老医保，诊断单选-->            <base-combo-box-view ng-show="!yibaoWorkflowManager.isYibaoGatewayEnabled"                                 class="order-form-item-content diagnosis-combo-box"                                 bind-text-field="yibaoWorkflowManager.diagnosisInfo.itemName"                                 bind-value-field="yibaoWorkflowManager.diagnosisInfo.id"                                 bind-data-source="yibaoWorkflowManager.diagnosisInfoList"                                 combo-box-option="diagnosisComboBoxOption"                                 custom-id="chargeOrderExtendDiagnosisComboBox"                                 placeholder="请输入编码或关键字"></base-combo-box-view>            <!--网关医保，手动输入诊断-->            <input type="text"                   ng-show="isShowDignoseInput()"                   ng-model="yibaoWorkflowManager.selectedDignoses[0].name"                   class="order-form-item-content diagnosis-combo-box form-control"                   placeholder="请输入诊断项目" />            <!--网关医保，支持诊断多选-->            <base-multi-select-box-view ng-show="isShowDiagnoseMultiDropdownlist()"                                        class="approval-actors-select"                                        style="width:300px;display: inline-block; vertical-align: middle; font-size: 14px; "                                        bind-selected-value-arr-field="yibaoWorkflowManager.selectedDignoses"                                        bind-data-source="yibaoWorkflowManager.diagnosisInfoList"                                        source-value-field="channelObjectId"                                        source-display-field="channelObjectName"                                        source-text-field="channelObjectName"                                        selected-item-text-field="name"                                        selected-item-value-field="id"                                        placeholder="请选择诊断"                                        max-selected-items="3"></base-multi-select-box-view>        </div>    </div>    <div class="order-form-row" ng-show="isShowFreeField()" style="margin-bottom:-15px;">        <free-field-view target-type="3"                         is-edit="allowEditFreeField()"                         on-loaded-free-fields="freeFieldAssist.onLoadedFreeFields(freeFields)"                         source="freeFieldAssist.freeFieldValueInfo"></free-field-view>    </div>    <div class="order-form-row" ares-if="::isShowComment">        <div class="order-form-item">            <label class="order-form-item-text">备注：</label>            <textarea ng-model="chargeOrderPriceHandle.comments"                      ng-disabled="!orderEventOption.allowEditComment()"                      class="order-form-item-content comment-textarea form-control"></textarea>        </div>    </div>    <a class="browse-child-records-btn"       ng-click="openBrowseChildRecordsView()"       ares-show="chargeOrderPriceHandle.isHistory || chargeOrderPriceHandle.childChargeOrderPriceHandleList.length>0">        查看收费记录    </a></div>');templateCache.put('/app/charge/components/charge-order-gift-certificate-action/charge-order-gift-certificate-action-view.html','<div class="charge-order-gift-certificate-action-wrap">    <style>        .charge-order-gift-certificate-action-wrap .gift-share {            border-radius: 100%;            width: 20px;            height: 20px;            background-color: #2CC87B;            color: white;            display: inline-block;            text-align: center;            font-size: 12px;        }        .charge-order-gift-certificate-action-wrap .gift-certificate-name-search .k-dropdown-wrap:before {            height: auto;        }        .charge-order-gift-certificate-action-wrap .gift-certificate-name-search {            max-width: 350px;        }        .charge-order-gift-certificate-action-wrap .gift-certificate-action {        }            .charge-order-gift-certificate-action-wrap .gift-certificate-action .search-gift-type {                display: inline-block;                vertical-align: middle;            }                .charge-order-gift-certificate-action-wrap .gift-certificate-action .search-gift-type .search-gift-type-radio {                    display: block;                    padding: 0;                    margin: 0;                    line-height: 14px;                    font-weight: 400;                    cursor: pointer;                }                    .charge-order-gift-certificate-action-wrap .gift-certificate-action .search-gift-type .search-gift-type-radio input[type="radio"] {                        margin: 0;                    }                    .charge-order-gift-certificate-action-wrap .gift-certificate-action .search-gift-type .search-gift-type-radio:last-child {                        margin-top: 5px;                    }        #gift-certificate-name-search-list .item-header {            border-width: 0 0 1px 0;            background-color: #e6dede;            height: 34px;            font-size: 0;        }            #gift-certificate-name-search-list .item-header .certificate-name,            #gift-certificate-name-search-list .item-header .certificate-display-name,            #gift-certificate-name-search-list .item-header .certificate-type {                line-height: 34px;            }        #gift-certificate-name-search-list .select-item {            height: 28px;            font-size: 0;            margin: 0 -5px;        }        #gift-certificate-name-search-list .certificate-name {            display: inline-block;            box-sizing: border-box;            width: 90px;            max-width: 90px;            font-size: 14px;            color: #333;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            line-height: 28px;            padding-left: 5px;        }        #gift-certificate-name-search-list .certificate-display-name {            display: inline-block;            box-sizing: border-box;            width: 100px;            max-width: 100px;            font-size: 14px;            color: #333;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            line-height: 28px;        }        #gift-certificate-name-search-list .certificate-type {            display: inline-block;            box-sizing: border-box;            width: 60px;            max-width: 60px;            font-size: 14px;            color: #333;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            line-height: 28px;        }    </style>    <div class="gift-certificate-nav" ng-show="orderEventOption.allowEditGiftCertificate()">        <ul>            <li ng-repeat="tab in tabsProperties"                ng-click="switchTab($index)" ng-class="tab.active? \'active\':\'\'"                ng-disabled="!tab.giftCertificates || tab.giftCertificates.length == 0">                {{tab.name}}            </li>        </ul>    </div>    <div ng-repeat="tab in tabsProperties" ng-class="tab.active? \'gift-certificate-block active\':\'gift-certificate-block\'"         ng-if="tab.giftCertificates && tab.giftCertificates.length > 0">        <div class="gift-certificate-list">            <ul>                <li ng-repeat="giftCertificate in tab.giftCertificates"                    ng-if="orderEventOption.allowEditGiftCertificate() || giftCertificate.styleClass==\'selected\'">                    <div class="gift-certificate-item" ng-class="giftCertificate.styleClass"                         ng-if="!giftCertificate.channelTypeInfos">                        <span class="gift-name" ng-click="useOrCancelGiftCertificate(giftCertificate)">                            <span class="gift-icon share"                                  ng-hide="checkIsNotShareGiftCertificate(giftCertificate)"                                  ng-attr-title="{{\'共享自：\' + giftCertificate.patientName}}">                            </span>                            <span>{{getGiftCertificateShowName(giftCertificate.certificateName)}}</span>                        </span>                        <span class="gift-icon info" ng-click="viewGiftCertificateInfo(giftCertificate)"></span>                    </div>                    <div class="groupbuy-certificate-item" ng-if="giftCertificate.channelTypeInfos"                         ng-class="giftCertificate.isUsed?\'selected\':\'\'"                         ng-click="editUseGroupBuyCertificate(giftCertificate)">                        <i ng-class="getGroupBuyCertificateButtonClass(giftCertificate)"></i>                        <span ng-if="giftCertificate.isUsed">{{ giftCertificate.usedInfo.channelDealTitle }}</span>                    </div>                </li>                <li ng-show="isShowApptApplyCoupleHint()" style="padding: 5px; font-size: 14px; background: #ffda9c; margin: 10px 0 0 10px;">                    该患者为流量大使引流患者，有券可抵扣，收费完成后同时核销此卡券                </li>            </ul>        </div>    </div>    <div class="gift-certificate-block" id="no-name" ares-authorize="patientMembership.giftCard"         ng-show="orderEventOption.allowEditGiftCertificate()">        <div class="gift-certificate-action">            <label>不记名卡券：</label>            <div class="search-gift-type">                <label class="search-gift-type-radio">                    <input type="radio" value="1" ng-model="certificateSearchType" ng-click="switchSearchType()"> 按卡号查询                </label>                <label class="search-gift-type-radio">                    <input type="radio" value="2" ng-model="certificateSearchType" ng-click="switchSearchType()"> 按卡券方案                </label>            </div>            <div style="display:inline-block;vertical-align:middle;width:400px;" ng-show="certificateSearchType == 1">                <input ng-model="noNameCertificateNo" class="form-control"                       style="max-width: 250px; display: inline-block;vertical-align:middle;"                       type="text" placeholder="请输入卡券号">                <button ng-click="applyGiftCertificate()" ng-disabled="noNameCertificateNo==\'\'"                        class="lc-btn lc-btn-default" style="display: inline-block;vertical-align:middle;">                    应用                </button>            </div>            <div style="display:inline-block;vertical-align:middle" ng-show="certificateSearchType == 2">                <input class="gift-certificate-name-search"                       id="gift-certificate-name-search"                       style="max-width: 260px; width:260px;font-size: 13.5px; display:inline-block;vertical-align:middle" />                <input class="gift-certificate-transactions-select"                       id="gift-certificate-transactions-select"                       style="max-width: 170px; width:170px; display: inline-block;vertical-align:middle;" />                <button ng-click="useGiftTransaction()" ng-disabled="!selectedTransaction"                        class="lc-btn lc-btn-default" style="display: inline-block;vertical-align:middle;">                    应用                </button>            </div>        </div>        <div class="gift-certificate-list">            <ul>                <li ng-repeat="giftCertificate in membershipAssist.noNameGiftCertificates">                    <div class="gift-certificate-item" ng-class="giftCertificate.styleClass">                        <span class="gift-name" ng-click="useOrCancelGiftCertificate(giftCertificate)">                            {{getGiftCertificateShowName(giftCertificate.certificateName)}}                        </span>                        <span class="gift-icon info" ng-click="viewGiftCertificateInfo(giftCertificate)"></span>                    </div>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-order-last-action-info/charge-order-last-action-info-view.html','<div class="charge-order-action-info-wrap">    <style>        .charge-order-action-info-wrap {            position: relative;        }            .charge-order-action-info-wrap .charge-order-action-info-hint {                margin-bottom: 5px;                margin-top: -10px;            }                .charge-order-action-info-wrap .charge-order-action-info-hint span {                    height: 30px;                    background: #ffda9c;                    padding: 0 10px;                    box-sizing: border-box;                    display: inline-block;                    line-height: 30px;                    min-width: 80px;                }            .charge-order-action-info-wrap .charge-order-action-info-btns {                position: relative;            }    </style>    <div class="charge-order-action-info-hint" ng-if="checkIsShowStartBillMethod()">        <span ng-if="checkIsShowStartBillMethod()" class="show-save-workflow-hint">            当前诊所已开启收费单开单审批功能，通过开单并审批后才可进行正常收费.        </span>    </div>    <div class="charge-order-action-info-btns">        <button class="lc-btn lc-btn-default pull-left" ng-click="lastActionInfo.qrCodeChargePrint.event(this)"                ng-if="lastActionInfo.qrCodeChargePrint.isShow()">            诊间支付打印        </button>        <button class="lc-btn lc-btn-primary" ng-if="checkIsShowSaveMethod()"                ng-disabled="lastActionInfo.save.isDisabled()"                ng-click="lastActionInfo.save.event()">            保存        </button>        <button class="lc-btn lc-btn-primary" ng-if="checkIsShowStartBillMethod()"                ng-disabled="lastActionInfo.startBill.isDisabled()"                ng-click="lastActionInfo.startBill.event()">            开单        </button>        <button class="lc-btn lc-btn-primary" ng-if="checkIsShowOKMethod()" ng-click="lastActionInfo.ok.event()">            确定        </button>        <button class="lc-btn lc-btn-primary" ng-if="checkIsShowBillMethod()"                ng-disabled="lastActionInfo.bill.isDisabled()"                ng-click="lastActionInfo.bill.event()">            收费        </button>        <button class="lc-btn lc-btn-default" ng-if="lastActionInfo.cancelThirdPartyPay.isShow()"                ng-click="lastActionInfo.cancelThirdPartyPay.event()">            取消支付订单        </button>        <button class="lc-btn lc-btn-default" ng-if="checkIsShowCloseMethod()" ng-click="lastActionInfo.close.event()">            关闭        </button>        <div class="lc-btn-group pull-right print-action-wrap" role="group">            <button class="lc-btn lc-btn-default" ng-if="checkIsShowGiftDrawMethod()" ng-click="drawGiftCertificate()">                发优惠券            </button>            <button class="lc-btn lc-btn-default" ng-if="isContainYibaoCheckInPrintData"                    ng-click="lastActionInfo.printYibao.event(true)">                挂号打印            </button>            <button class="lc-btn lc-btn-default" ng-if="isContainYibaoPrintData"                    ng-click="lastActionInfo.printYibao.event(false)">                医保打印            </button>			<button class="lc-btn lc-btn-default" ng-click="lastActionInfo.printInvoice.event(this)"                ng-if="lastActionInfo.printInvoice.isShow()">                发票打印            </button>            <button class="lc-btn lc-btn-default" ng-click="lastActionInfo.print.event(this)"                    ng-if="!chargeOrderPriceHandle.isCancel()" ng-disabled="checkIsDisabledPrintMethod()"                    ng-show="checkIsShowPrintMethod()">                打印            </button>            <button class="lc-btn lc-btn-default" ng-if="checkIsShowPrintSetupMethod()"                    ares-config-click="lastActionInfo.printSetup.event()">                <span class="glyphicon glyphicon-cog"></span>            </button>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-order-payment-info/charge-order-payment-info-view.html','<div class="charge-order-payment-info-wrap">    <style>        .gift-card-action .item-title {            width: 75px;        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-btn {            width: 36px;            height: 36px;            border-radius: 3px;            border: none;            background-size: 36px;            vertical-align: middle;            padding: 0;        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-alipay {            background-image: url("images/pay-type-package-alipay@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-bankcard {            background-image: url("images/pay-type-package-bankcard@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-cash {            background-image: url("images/pay-type-package-cash@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-weixinpay {            background-image: url("images/pay-type-package-weixinpay@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-alipay-select {            background-image: url("images/pay-type-package-alipay-select@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-bankcard-select {            background-image: url("images/pay-type-package-bankcard-select@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-cash-select {            background-image: url("images/pay-type-package-cash-select@2x.png");        }        .charge-order-payment-info-wrap .pay-type-package-wrap .package-weixinpay-select {            background-image: url("images/pay-type-package-weixinpay-select@2x.png");        }    </style>    <div class="payment-info-block" ares-show="isShowPaymentInfo()">        <label class="item-title" ares-if="::hasMembershipType">会员卡：</label>        <span class="item-text-content" ares-if="::hasMembershipType">{{ membershipTypeName }}</span>        <label class="item-title">预付款：</label>        <span class="item-text-content">{{ advancePaymentRemainStr }}</span>        <label class="item-title" ng-if="isPointCashEnabled">积分：</label>        <span class="item-text-content" ng-if="isPointCashEnabled">{{ patientPoint }} ( <b>抵现</b> : {{ pointCashStr }} )</span>        <div class="item-setting" ares-if="::isNoBilled">            <charge-detail-price-allot-manager-view ares-if="::isNotBatchOverdue"                                                    class="charge-detail-allot-btn"                                                    fee-type="chargeOrderPriceHandle.feeType"                                                    full-after-discount-plan-price="chargeOrderPriceHandle.fullAfterDiscountPlanPrice"                                                    charge-detail-price-handle-list="chargeOrderPriceHandle.chargeDetailPriceHandleList"                                                    valid-actual-price="chargeOrderPriceHandle.actualGetInfo.validActualPrice"                                                    advance-overdue="chargeOrderPriceHandle.advanceOverdue"                                                    advance-price="chargeOrderPriceHandle.advancePrice"                                                    refresh-actual-price-allot-method="chargeOrderPriceHandle.actualGetInfo.refreshActualPriceAllotMethod"                                                    get-Valid-Actual-Price-Method="chargeOrderPriceHandle.actualGetInfo.getValidActualPriceMethod"                                                    allow-allot-charge-detail-method="chargeOrderEventInfo.orderEventOption.allowAllotChargeDetail()"                                                    is-charge-allot-deduction-first-enabled="isChargeAllotDeductionFirstEnabled"                                                    is-advance-charge-enabled="isAdvanceChargeEnabled"                                                    price-allot-finish-handler="priceAllotFinishHandler">            </charge-detail-price-allot-manager-view>            <a ares-config-click="editSystemPayTypeList()" class=\'edit-pay-type-btn\'               data-toggle="tooltip" data-placement="top"               title="配置收费方式">                <span class="glyphicon glyphicon-cog"></span>            </a>        </div>    </div>    <div class="payment-info-block" ares-show="chargeOrderEventInfo.orderEventOption.allowUseGiftCard()">        <div class="gift-card-action">            <label class="item-title">不记名卡：</label>            <charge-gift-card-action-view class="item-content"                                          allow-edit-method="chargeOrderEventInfo.orderEventOption.allowEditGiftCard()"                                          is-allow-read-iccard="chargeOrderEventInfo.orderEventOption.allowReadICcard()"                                          use-charge-gift-card="membershipAssist.chargeOrderGiftCard"                                          on-using-gift-card="onUsingGiftCard(giftCard)"                                          on-cancel-use-gift-card="onCancelUseGiftCard()"></charge-gift-card-action-view>        </div>    </div>    <div class="payment-info-block pay-type-package-wrap" style="padding-left: 14px;" ng-show="isShowPayTypePackage()">        <label class="item-title">常用：</label>        <div class="item-text-content">            <button class="package-btn" ng-class="payTypePackage == \'cash\'?\'package-cash-select\':\'package-cash\'"                    ng-click="onSelectPayTypePackage(\'cash\')"></button>            <button class="package-btn" ng-class="payTypePackage == \'weixin\'?\'package-weixinpay-select\':\'package-weixinpay\'"                    ng-click="onSelectPayTypePackage(\'weixin\')"></button>            <button class="package-btn" ng-class="payTypePackage == \'alipay\'?\'package-alipay-select\':\'package-alipay\'"                    ng-click="onSelectPayTypePackage(\'alipay\')"></button>            <button class="package-btn" ng-class="payTypePackage == \'bankCard\'?\'package-bankcard-select\':\'package-bankcard\'"                    ng-click="onSelectPayTypePackage(\'bankCard\')"></button>        </div>    </div>    <div class="payment-info-block" ares-show="!chargeOrderPriceHandle.isBilled() || chargeOrderPriceHandle.isChild || chargeOrderPriceHandle.isPayment">        <charge-payment-type-view class="pay-type-action-wrap"                                  watch-value="chargeOrderPriceHandle.fullAfterDiscountPlanPrice"                                  pay-type-number="payTypeNumber"                                  bind-total-actual-price="chargeOrderPriceHandle.actualGetInfo.actualPrice"                                  bind-pay-type1="chargeOrderPriceHandle.actualGetInfo.payType"                                  bind-pay-type2="chargeOrderPriceHandle.actualGetInfo.payType2"                                  bind-pay-type3="chargeOrderPriceHandle.actualGetInfo.payType3"                                  bind-actual-price1="chargeOrderPriceHandle.actualGetInfo.actualPrice1"                                  bind-actual-price2="chargeOrderPriceHandle.actualGetInfo.actualPrice2"                                  bind-actual-price3="chargeOrderPriceHandle.actualGetInfo.actualPrice3"                                  overdue="chargeOrderPriceHandle.actualGetInfo.overdue"                                  change="chargeOrderPriceHandle.actualGetInfo.change"                                  charge-type-option="payTypeOptions"                                  can-remove-pay-info-item-method="chargeOrderEventInfo.orderEventOption.allowRemovePayInfo(payInfoItem)"                                  view-reflash-method="chargeOrderPriceHandle.actualGetInfo.viewReflashMethod"                                  remove-pay-type-method="chargeOrderPriceHandle.actualGetInfo.removePayTypeMethod"                                  add-pay-type-method="chargeOrderPriceHandle.actualGetInfo.addPayTypeMethod"                                  pay-info="paymentInfoObj"                                  office-advance-payment-used-info-list="chargeOrderPriceHandle.officeAdvancePaymentUsedInfoList"                                  patient-id="chargeOrderPriceHandle.patientId">        </charge-payment-type-view>    </div>    <div class="payment-info-block payment-info-sum-price" style="min-height:35px;">        <div class="payment-other-price" ares-show="::isShowOverdue">            <label class="item-title">欠费：</label>            <span class="item-text-content overdue-text">{{ chargeOrderPriceHandle.actualGetInfo.overdue | toMoney }}</span>            <label class="item-title" ares-hide="chargeOrderPriceHandle.isBilled()">找零：</label>            <span class="item-text-content change-text" ares-hide="chargeOrderPriceHandle.isBilled()">                {{ chargeOrderPriceHandle.actualGetInfo.change|toMoney }}            </span>        </div>        <div class="payment-total-price">            <div class="">                <label class="item-title" style="margin-left:0px;">实付总额：</label>                <span class="item-text-content total-payment-text">{{ chargeOrderPriceHandle.actualGetInfo.actualPrice | toMoney }}</span>            </div>            <div class="" style="width:100%;text-align:right;"                 ng-if="deductionChargeEnabled&&isAdvanceChargeEnabled"                 ares-hide="chargeOrderPriceHandle.isBilled()">                <span class="glyphicon glyphicon-question-sign item-title"                      ng-click="popupAdvanceChargeDescription($event)"></span>                <label style="margin-left:0px;" class="item-title">诊疗预收款：</label>                <span class="item-text-content">                    {{ advanceChargePrice|toMoney }}                </span>                <label class="item-title">其他项目：</label>                <span class="item-text-content">                    {{ otherItemPrice|toMoney }}                </span>            </div>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-order-receivable-info/charge-order-receivable-info-view.html','<div class="charge-order-receivable-wrap" ng-style="{\'margin-bottom\': orderEventOption.isShowReceivablePriceInfo()?\'0\':\'15px\'}">    <style>        .charge-order-receivable-wrap .tooth-sync-checkbox {            line-height: 30px;        }            .charge-order-receivable-wrap .tooth-sync-checkbox input[type=\'checkbox\'] {                width: 20px;                height: 20px;                vertical-align: middle;                margin: 5px 0;            }        .charge-order-receivable-wrap .charge-order-insurance-statistics-info .plan-price-detail-label {            display: inline-block;            vertical-align: middle;        }        .charge-order-receivable-wrap .charge-order-statistics-info .charge-order-after-discount-plan-price {            color: #00a6c9;        }        .charge-order-receivable-wrap .charge-order-statistics-info .full-after-discount-plan-price .base-number-box-label {            font-size: 22px;            font-weight: 400;        }        .charge-order-receivable-wrap .charge-order-detail-statistics-info .select-other-patient-membership-list {            width: 180px;        }        .charge-order-receivable-wrap .charge-order-detail-statistics-info .total-price-info .item-title span {            line-height: 34px;            display: inline-block;            vertical-align: middle;        }        .charge-order-receivable-wrap .charge-order-detail-statistics-info .total-price-info .total-src-price-info-title {            width: 60px;            text-align: justify;            text-align-last: justify;            display: inline-block;            vertical-align: middle;            font-size: 14px;        }    </style>    <label class="tooth-sync-checkbox" ng-if="detailEventOption.isShowTooth()&&detailEventOption.allowEditFull()">        <input type="checkbox" ng-model="chargeOrderPriceHandle.isToothSync">        牙位同步    </label>    <charge-order-detail-table-view charge-type="chargeOrderPriceHandle.chargeType"                                    charge-detail-list="chargeDetails"                                    charge-order-event-info="chargeOrderEventInfo"                                    shangbao-charge-handler-center="shangbaoChargeHandlerCenter"                                    is-from-workflow-browse="isFromWorkflowBrowse"></charge-order-detail-table-view>    <div class="charge-order-detail-statistics-info receivable-block" ng-if="!insuranceInfo.isUse && orderEventOption.isShowReceivablePriceInfo()">        <div class="pull-left" ng-show="allowUseOtherMembershipEnabled && !chargeOrderPriceHandle.isBilled()">            <label class="item-title">会员卡持卡人：</label>            <label class="item-text-content">                <base-drop-down-list-view class="select-other-patient-membership-list"                                          text-field="membershipCardPatientTitle"                                          value-field="membershipCardId"                                          bind-value-field="membershipAssist.id"                                          bind-data-source="membershipAssist.otherMembershipOwnerList"                                          drop-down-list-option="otherMembershipListOption">            </label>        </div>        <div class="pull-right total-price-info">            <label class="item-title">                <span>总计 </span>                <span class="total-src-price-info icon iconfont icon-xinxi"                      data-original-title="{{ getTotalSrcPriceInfo() }}"></span>                <span> :</span>            </label>            <label class="item-text-content detail-after-discount-plan-price-label">{{ chargeOrderPriceHandle.detailAfterDiscountPlanPrice|toMoney }}</label>        </div>    </div>    <div class="charge-order-insurance-statistics-info receivable-block" ng-if="insuranceInfo.isUse && !isYibaoRefunded()&& orderEventOption.isShowReceivablePriceInfo()">        <div class="pull-left" ng-hide="insuranceInfo.name!=\'商保\'">            <button class="btn btn-default" ng-click="shangbaoChargeHandlerCenter.showHistoryBillDialog()">历史记录</button>        </div>        <div class="pull-right">            <div ng-if="insuranceInfo.isUse && insuranceInfo.name == \'医保\'" style="display: inline; margin-right: 10px;">                <label class="item-title">医保:</label>                <label class="item-content detail-after-discount-plan-price-label">{{ insuranceInfo.srcYibaoAmount.toFixed(2) }}</label>                <label class="item-title" style="margin-left:10px;">非医保:</label>                <label class="item-content detail-after-discount-plan-price-label">{{ insuranceInfo.srcSelfPayAmount.toFixed(2) }}</label>            </div>            <label class="item-title">总计:</label>            <label class="item-content detail-after-discount-plan-price-label">{{ chargeOrderPriceHandle.detailAfterDiscountPlanPrice|toMoney }}</label>            <div ng-if="insuranceInfo.isPresettled || chargeOrderPriceHandle.isBilled()" class="plan-price-detail-label">                <label class="operator-label"> = </label>                <div class="insurance-plan-price-cell">                    <label class="item-title">{{ insuranceInfo.name }}费用: </label>                    <label class="item-text-content insurance-price-label">{{ ::insuranceInfo.actualPrice.toFixed(2) }}</label>                </div>                <label class="operator-label"> + </label>                <div class="insurance-plan-price-cell">                    <label class="item-title">自付费用: </label>                    <label class="item-text-content insurance-price-label">{{ ::insuranceInfo.selfPayPlanPrice.toFixed(2) }}</label>                </div>            </div>        </div>    </div>    <div class="charge-order-statistics-info receivable-block" ng-if="orderEventOption.isShowReceivablePriceInfo()"         style="margin-bottom:-15px;">        <div class="pull-left" style="margin-right:20px;"             ng-if="isShowAllowDiscountPlanPrice()">            <label class="item-title">可整单折扣金额：</label>            <label class="item-text-content detail-after-discount-plan-price-label">                {{ chargeOrderPriceHandle.allowDiscountDetailsInfo.srcPlanPrice.toFixed(2) }}            </label>        </div>        <div class="pull-left {{ chargeOrderPriceHandle.discountStatusClass }}" ng-hide="insuranceInfo.isUse">            <label ng-class="chargeOrderPriceHandle.notUseMembershipDiscount?\'order-discount-status-cancel\':\'order-discount-status\'"                   ng-click="cancelOrEnableGiftPlanOrderDiscount()">{{ chargeOrderPriceHandle.discountStatusStr }}</label>            <label class="item-title">整单折扣：</label>            <div class="item-content" ng-class="chargeOrderPriceHandle.notUseMembershipDiscount?\'not-use-membership\':\'\'">                <base-number-box-view class="charge-order-discount"                                      bind-value-field="chargeOrderPriceHandle.orderDiscount"                                      number-box-option="::orderDiscountBoxOption"                                      on-change="orderEvent.onChangeDiscount(newValue)"></base-number-box-view>                <label>%</label>            </div>        </div>        <div class="pull-left" ng-if="insuranceInfo.isUse">            <label class="item-title">自付费用折扣：</label>            <div class="item-content">                <base-number-box-view class="charge-order-discount"                                      bind-value-field="insuranceInfo.selfPayDiscount"                                      number-box-option="::orderDiscountBoxOption"                                      on-change="orderEvent.onChangeDiscount(newValue)"></base-number-box-view>                <label>%</label>            </div>        </div>        <div class="pull-right full-after-discount-plan-price" ng-hide="insuranceInfo.isUse">            <label class="item-title" style="text-align:right;">应付金额：</label>            <base-number-box-view class="charge-order-after-discount-plan-price item-content"                                  bind-value-field="chargeOrderPriceHandle.fullAfterDiscountPlanPrice"                                  number-box-option="::fullAfterDiscountPlanPriceBoxOption"                                  on-change="orderEvent.onChangeAfterDiscountPlanPrice(newValue)"></base-number-box-view>        </div>        <div class="pull-right full-after-discount-plan-price" ng-if="insuranceInfo.isUse">            <label class="item-title">自付总计：</label>            <base-number-box-view class="charge-order-after-discount-plan-price item-content"                                  bind-value-field="insuranceInfo.selfPayPlanPriceAfterDiscount"                                  number-box-option="::fullAfterDiscountPlanPriceBoxOption"                                  on-change="orderEvent.onChangeAfterDiscountPlanPrice(newValue)"></base-number-box-view>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-payment-type/charge-payment-type-view.html','<div class="pay-info-wrapper enyo">    <style>        .pay-info-wrapper {        }            .pay-info-wrapper div {                -webkit-box-sizing: border-box;                -moz-box-sizing: border-box;                box-sizing: border-box;            }            .pay-info-wrapper .pay-info-item-block {                width: 100%;                margin-bottom: 10px;            }                .pay-info-wrapper .pay-info-item-block:last-child {                    margin-bottom: 0;                }                .pay-info-wrapper .pay-info-item-block .pay-info-item {                    display: inline-block;                    background-color: #fff;                    height: 46px;                    border-radius: 4px;                    padding: 5px 10px;                    width: 100%;                }                    .pay-info-wrapper .pay-info-item-block .pay-info-item.edit {                        width: calc(100% - 60px);                    }                    .pay-info-wrapper .pay-info-item-block .pay-info-item .pay-type-title {                        margin: 0;                        line-height: 34px;                        vertical-align: middle;                    }                    .pay-info-wrapper .pay-info-item-block .pay-info-item .pay-type-context {                        margin-left: 10px;                        display: inline-block;                        vertical-align: middle;                    }                    .pay-info-wrapper .pay-info-item-block .pay-info-item .pay-price-title {                        margin: 0;                        line-height: 34px;                        vertical-align: middle;                        margin-left: 20px;                    }                    .pay-info-wrapper .pay-info-item-block .pay-info-item .pay-price-context {                        display: inline-block;                        vertical-align: middle;                        margin-left: 10px;                    }                .pay-info-wrapper .pay-info-item-block .pay-info-item-action {                    display: inline-block;                    vertical-align: middle;                    margin-left: 10px;                    width: 20px;                    height: 20px;                    line-height: 20px;                    font-size: 20px;                    padding: 0;                }    </style>    <div pay-index="0" class="pay-info-item-block">        <div class="pay-info-item" id="pay-info-1" ng-class="!isBilledMethod()?\'edit\':\'\'">            <label class="myRequired pay-type-title">支付方式</label>            <span class="pay-type-context">                <base-drop-down-list-view custom-id="\'pay-type-1\'" class="pay-type-drop-down-list" style=" width:240px"                                          filter="contains"                                          value-field=\'itemName\'                                          text-field=\'itemName\'                                          bind-value-field="payInfo[0].type"                                          bind-data-source="payInfo[0].srcTypeList"                                          drop-down-list-option="payTypeOption"                                          kendo-action-obj="payInfo[0].kendoDropDownList">                </base-drop-down-list-view>            </span>            <label class="myRequired pay-price-title">实付金额</label>            <span class="pay-price-context">                <base-number-box-view name="pay-price-1"                                      style="width:140px;"                                      custom-id="pay-price-1"                                      bind-value-field="payInfo[0].price"                                      bind-context="payInfo[0]"                                      number-box-option="priceBoxOption"                                      kendo-action-obj="payInfo[0].kendoNumericTextBox">                </base-number-box-view>            </span>            <span class="pay-price-context" ng-if="isShowAdvancePayment(payInfo[0])">                <a class="icon-btn icon-distribution ng-scope" title="预付款分摊" data-toggle="tooltip" data-placement="top" ng-click="openAdvancePaymentAllotDialog(payInfo[0].price)"></a>            </span>        </div>        <a class="pay-info-item-action" ng-click="onAddPayType()"           ng-hide="isBilledMethod()||isBrowseMethod()">            <span class="glyphicon glyphicon-plus"></span>        </a>    </div>    <div ng-if="payTypeNumber>=2" id="pay-info-2" pay-index="1" class="pay-info-item-block">        <div class="pay-info-item" ng-class="!isBilledMethod()?\'edit\':\'\'">            <label class="pay-type-title">支付方式</label>            <span class="pay-type-context">                <base-drop-down-list-view custom-id="pay-type-2" class="pay-type-drop-down-list" style="width:240px"                                          filter="contains"                                          value-field=\'itemName\'                                          text-field=\'itemName\'                                          bind-value-field="payInfo[1].type"                                          bind-data-source="payInfo[1].srcTypeList"                                          drop-down-list-option="payTypeOption"                                          kendo-action-obj="payInfo[1].kendoDropDownList">                </base-drop-down-list-view>            </span>            <label class="pay-price-title">实付金额</label>            <span class="pay-price-context">                <base-number-box-view name="\'pay-price-2\'"                                      style="width:140px;"                                      custom-id="\'pay-price-2\'"                                      bind-value-field="payInfo[1].price"                                      bind-context="payInfo[1]"                                      number-box-option="priceBoxOption"                                      kendo-action-obj="payInfo[1].kendoNumericTextBox">                </base-number-box-view>            </span>            <span class="pay-price-context" ng-if="isShowAdvancePayment(payInfo[1])">                <a class="icon-btn icon-distribution ng-scope" title="预付款分摊" data-toggle="tooltip" data-placement="top" ng-click="openAdvancePaymentAllotDialog(payInfo[1].price)"></a>            </span>        </div>        <a class="pay-info-item-action" ng-click="onRemovePayType(1)"           ng-hide="isBilledMethod()||isBrowseMethod()">            <span class="glyphicon glyphicon-minus"></span>        </a>    </div>    <div ng-if="payTypeNumber==3" id="pay-info-3" pay-index="2" class="pay-info-item-block">        <div class="pay-info-item" ng-class="!isBilledMethod()?\'edit\':\'\'">            <label class="pay-type-title">支付方式</label>            <span class="pay-type-context">                <base-drop-down-list-view custom-id="\'pay-type-3\'" class="pay-type-drop-down-list" style=" width:240px"                                          filter="contains"                                          value-field=\'itemName\'                                          text-field=\'itemName\'                                          bind-value-field="payInfo[2].type"                                          bind-data-source="payInfo[2].srcTypeList"                                          drop-down-list-option="payTypeOption"                                          kendo-action-obj="payInfo[2].kendoDropDownList">                </base-drop-down-list-view>            </span>            <label class="pay-price-title">实付金额</label>            <span class="pay-price-context">                <base-number-box-view name="pay-price-3"                                      style="width:140px;"                                      custom-id="\'pay-price-3\'"                                      bind-value-field="payInfo[2].price"                                      bind-context="payInfo[2]"                                      number-box-option="priceBoxOption"                                      kendo-action-obj="payInfo[2].kendoNumericTextBox">                </base-number-box-view>            </span>            <span class="pay-price-context" ng-if="isShowAdvancePayment(payInfo[2])">                <a class="icon-btn icon-distribution ng-scope" title="预付款分摊" data-toggle="tooltip" data-placement="top" ng-click="openAdvancePaymentAllotDialog(payInfo[2].price)"></a>            </span>        </div>        <a class="pay-info-item-action" ng-click="onRemovePayType(2)"           ng-hide="isBilledMethod()||isBrowseMethod()">            <span class="glyphicon glyphicon-minus"></span>        </a>    </div></div>');templateCache.put('/app/charge/components/charge-refund-detail-step-list/charge-refund-detail-step-list-view.html','<div class="charge-refund-detail-step-list-wrap">    <style>        .charge-refund-detail-step-list-wrap {            font-size: 13px;            color: #575d6a;            height: 100%;        }            .charge-refund-detail-step-list-wrap .charge-refund-detail-list {            }                .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-info {                    height: 40px;                    box-sizing: border-box;                    border: 1px solid #cfdbdd;                    background-color: #f3f7f7;                    padding: 0 10px;                }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-info .charge-refund-detail-info-right-text {                        line-height: 40px;                        float: right;                        padding: 0;                        margin: 0;                    }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-info .charge-refund-detail-info-left-text {                        line-height: 40px;                        float: left;                        padding: 0;                        margin: 0;                    }                .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-info {                    padding: 10px 0 0 10px;                }                .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item {                    display: inline-block;                    vertical-align: middle;                    border-radius: 5px;                    width: 60px;                    height: 60px;                    margin-right: 10px;                    margin-bottom: 10px;                    overflow: hidden;                    cursor: pointer;                }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item .charge-refund-step-index {                        background: #cfdbdd;                        width: 60px;                        height: 18px;                        line-height: 18px;                        font-size: 13px;                        color: #575d6a;                        letter-spacing: 0;                        text-align: center;                        margin: 0;                        padding: 0;                    }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item.edit-step .charge-refund-step-index {                        background: #00a6c9;                        color: #ffffff;                    }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item .charge-refund-step-item-about {                        height: 42px;                        background: #f3f7f7;                        font-size: 13px;                        color: #9397a2;                        letter-spacing: 0;                        text-align: left;                    }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item.edit-step .charge-refund-step-item-about {                        background: #e0faff;                        color: #00a6c9;                    }                    .charge-refund-detail-step-list-wrap .charge-refund-detail-list .charge-refund-detail-step-item .charge-refund-step-item-about p {                        padding: 0;                        margin: 0;                        width: 100%;                        height: 19px;                        line-height: 19px;                        text-align: center;                    }            .charge-refund-detail-step-list-wrap .charge-refund-detail-step-item .charge-refund-step-item-about .has-refund-step {                color: #00a6c9;            }    </style>    <ul class="charge-refund-detail-step-list">        <li class="charge-refund-detail-list" ng-repeat="chargeDetail in chargeDetailPriceHandleList">            <div class="charge-refund-detail-info">                <p class="charge-refund-detail-info-left-text">                    {{ chargeDetail.name }} ({{ chargeDetail.canRefundStepDetailCount }})                </p>                <p class="charge-refund-detail-info-right-text">                    退费: {{ getDetailRefundStepPrice(chargeDetail) }}                </p>            </div>            <ul class="charge-refund-detail-step-info"                ng-show="!chargeDetail.hasExecutedFullStep && chargeDetail.itemGroupStepInfos.length">                <li class="charge-refund-detail-step-item" ng-click="editItemGroupSteps(itemGroupStepInfo)"                    ng-class="itemGroupStepInfo.isEdit?\'edit-step\':\'\'" ng-repeat="itemGroupStepInfo in chargeDetail.itemGroupStepInfos">                    <p class="charge-refund-step-index">{{ ::itemGroupStepInfo.displayTitle }}</p>                    <div class="charge-refund-step-item-about">                        <p>可退 {{ getCanRefundStepCount(itemGroupStepInfo) }} </p>                        <p ng-class="getSelectedStepCount(itemGroupStepInfo)>0?\'has-refund-step\':\'\'">                            已选 {{ getSelectedStepCount(itemGroupStepInfo) }}                        </p>                    </div>                </li>            </ul>        </li>    </ul></div>');templateCache.put('/app/charge/components/charge-refund-detail-step-select-list/charge-refund-detail-step-select-list-view.html','<div class="charge-refund-detail-step-select-wrap">    <style>        .modal.slide-modal .modal-dialog {            transition: left 0.3s,width 0.3s,transform 0.3s;        }        .charge-refund-detail-step-select-wrap {            width: 400px;            height: 100%;        }            .charge-refund-detail-step-select-wrap .charge-refund-detail-item-info {                background: #e0faff;                height: 30px;            }                .charge-refund-detail-step-select-wrap .charge-refund-detail-item-info .info-title {                    line-height: 30px;                    font-weight: bold;                    color: #575d6a;                    font-size: 20px;                    margin: 0 10px;                }            .charge-refund-detail-step-select-wrap .step-select-table-header {                font-size: 0;                height: 28px;                border-top: 1px solid #cfdbdd;                border-bottom: 1px solid #cfdbdd;                background-color: #f3f7f7;                box-sizing: border-box;            }            .charge-refund-detail-step-select-wrap .step-select-table-body {                height: calc(100% - 78px);            }            .charge-refund-detail-step-select-wrap .step-select-table-body-item {                font-size: 0;                height: 30px;                border-bottom: 1px solid #cfdbdd;                box-sizing: content-box;                cursor: pointer;            }                .charge-refund-detail-step-select-wrap .step-select-table-body-item:not(.disabled-select-step):hover {                    background-color: #ebfcff;                }                .charge-refund-detail-step-select-wrap .step-select-table-body-item.disabled-select-step {                }            .charge-refund-detail-step-select-wrap .step-select-table .select-checkbox-wrap {                display: inline-block;                vertical-align: middle;                font-size: 14px;                width: 28px;                height: 28px;                box-sizing: border-box;            }                .charge-refund-detail-step-select-wrap .step-select-table .select-checkbox-wrap .select-checkbox {                    height: 16px;                    width: 16px;                    margin: 6px;                }            .charge-refund-detail-step-select-wrap .step-select-table .step-select-table-header .table-cell {                line-height: 26px;            }            .charge-refund-detail-step-select-wrap .step-select-table .step-select-table-body-item .table-cell {                line-height: 30px;            }            .charge-refund-detail-step-select-wrap .step-select-table .table-cell {                display: inline-block;                vertical-align: middle;                font-size: 13px;                margin: 0;            }            .charge-refund-detail-step-select-wrap .step-select-table .step-name-cell {                width: 100px;            }                .charge-refund-detail-step-select-wrap .step-select-table .step-name-cell .single-line-text {                    display: inline-block;                    vertical-align: middle;                    width: 100px;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                    font-size: 13px;                }            .charge-refund-detail-step-select-wrap .step-select-table .price-cell {                width: 55px;            }            .charge-refund-detail-step-select-wrap .step-select-table .state-cell {                width: 50px;            }    </style>    <div class="charge-refund-detail-item-info">        <h2 class="info-title">            {{ ::itemGroupStepInfo.displayTitle }}        </h2>    </div>    <div class="step-select-table">        <div class="step-select-table-header">            <div class="select-checkbox-wrap table-cell">                <input type="checkbox" class="select-checkbox"                       ng-click="selectStep(null,groupIndex,itemGroupIndex)"                       ng-disabled="!canRefundStep()"                       ng-checked="isSelectedAll()" />            </div>            <p class="step-name-cell table-cell">步骤名称</p>            <p class="price-cell table-cell">应收</p>            <p class="price-cell table-cell">已收</p>            <p class="price-cell table-cell">欠费</p>            <p class="price-cell table-cell">可退</p>            <p class="state-cell table-cell">状态</p>        </div>        <ul class="step-select-table-body">            <li class="step-select-table-body-item" ng-repeat="displayStep in itemGroupStepInfo.displaySteps"                ng-click="selectStep(displayStep,groupIndex,itemGroupIndex)"                ng-class="canRefundStep(displayStep)?\'\':\'disabled-select-step\'">                <div class="select-checkbox-wrap table-cell">                    <input type="checkbox" class="select-checkbox" ng-checked="isSelected(displayStep)"                           ng-disabled="!canRefundStep(displayStep)" />                </div>                <p class="step-name-cell table-cell">                    <span class="single-line-text" title="{{ ::displayStep.stepName}}">                        {{ ::displayStep.stepName }}                    </span>                </p>                <p class="price-cell table-cell">{{ ::toMoneyMethod(displayStep.chargeOrderDetail.planPrice)}}</p>                <p class="price-cell table-cell">{{ ::toMoneyMethod(displayStep.chargeOrderDetail.actualPrice)}}</p>                <p class="price-cell table-cell">{{ ::toMoneyMethod(displayStep.chargeOrderDetail.overdue)}}</p>                <p class="price-cell table-cell">{{ ::toMoneyMethod(displayStep.chargeOrderDetail.actualPrice)}}</p>                <p class="state-cell table-cell">{{ ::getStepStateStr(displayStep)}}</p>            </li>        </ul>    </div></div>');templateCache.put('/app/charge/components/charge-refund-detail-table/charge-refund-detail-table-view.html','<div class="refund-detail-item-table-wrap">    <style>        .refund-detail-item-table-wrap {            width: 100%;            height: 100%;            font-size: 13px;            color: #595959;        }            .refund-detail-item-table-wrap .iconfont {                font-size: 10px;                color: #575D6A;            }            .refund-detail-item-table-wrap #detail-refund-info-wrap .detail-refund-info-title-text,            .refund-detail-item-table-wrap #order-refund-info-wrap .order-refund-info-title-text {                color: #262626;            }            .refund-detail-item-table-wrap .detail-refund-info-title .detail-refund-info-title-text.detail-refund-table-switch {                width: 120px;                cursor: pointer;            }            .refund-detail-item-table-wrap .row-item {                font-size: 0;            }                .refund-detail-item-table-wrap .row-item .row-cell-item {                    font-size: 13px;                    display: inline-block;                    vertical-align: middle;                    margin: 0 0 0 10px;                }            .refund-detail-item-table-wrap .enyo-radio[type=radio] + .enyo-radio-label {                vertical-align: baseline;            }            .refund-detail-item-table-wrap .order-refund-info-title,            .refund-detail-item-table-wrap .detail-refund-info-title {                display: block;                height: 32px;                line-height: 32px;            }            .refund-detail-item-table-wrap #order-refund-info-wrap,            .refund-detail-item-table-wrap #detail-refund-info-wrap {                padding: 0 10px;            }            .refund-detail-item-table-wrap .order-refund-info-title .order-refund-info-title-setting,            .refund-detail-item-table-wrap .detail-refund-info-title .detail-refund-info-title-setting {                float: right;            }            .refund-detail-item-table-wrap table {                height: 100%;                box-sizing: border-box;                border-bottom: 1px solid #cfdbdd;                border-left: 1px solid #cfdbdd;                border-right: 1px solid #cfdbdd;                table-layout: fixed;                border-collapse: collapse;            }                .refund-detail-item-table-wrap table#refund-detail-item-table-header {                }                    .refund-detail-item-table-wrap table#refund-detail-item-table-header .item-name-cell {                        width: 290px;                        font-size: 13px;                    }            .refund-detail-item-table-wrap #refund-detail-item-table-footer {                width: 100%;                padding: 0 10px;                background-color: #E0FAFF;                border-top: 1px solid #D9D9D9;                border-bottom: 1px solid #D9D9D9;                height: 34px;                position: relative;                cursor: pointer;            }                .refund-detail-item-table-wrap #refund-detail-item-table-footer .total-base-info-item {                    font-size: 13px;                    color: #262626;                    height: 32px;                    line-height: 32px;                }                .refund-detail-item-table-wrap #refund-detail-item-table-footer #refund-total-detail {                    width: 100%;                    position: absolute;                    bottom: 30px;                    left: 0;                    background-color: #E0FAFF;                    border-top: 1px solid #D9D9D9;                    border-bottom: 1px dashed #D9D9D9;                    padding: 5px 10px;                    color: #262626;                }                    .refund-detail-item-table-wrap #refund-detail-item-table-footer #refund-total-detail .row-item {                        text-align: right;                    }            .refund-detail-item-table-wrap #refund-detail-item-table {                height: calc(100% - 58px);            }                .refund-detail-item-table-wrap #refund-detail-item-table table {                    height: auto;                }                    .refund-detail-item-table-wrap #refund-detail-item-table table .item-name-cell .single-line-text {                        display: inline-block;                        vertical-align: middle;                        max-width: 170px;                        overflow: hidden;                        text-overflow: ellipsis;                        white-space: nowrap;                        font-size: 13px;                    }                    .refund-detail-item-table-wrap #refund-detail-item-table table .item-name-cell .deduction-detail-item {                        display: inline-block;                        vertical-align: middle;                        box-sizing: border-box;                        width: 38px;                        height: 16px;                        background: #E2FCEA;                        border: 1px solid #00BE59;                        border-radius: 2px;                        color: #00BE59;                        font-size: 13px;                        line-height: 14px;                        text-align: center;                        margin: 0 5px 0 0;                    }                    .refund-detail-item-table-wrap #refund-detail-item-table table .item-name-cell .deduction-executing-status {                        display: inline-block;                        vertical-align: middle;                        width: 55px;                        font-size: 13px;                        text-align: center;                        border-left: 1px solid #D9D9D9;                        margin: 0 0 0 5px;                    }            .refund-detail-item-table-wrap .order-refund-info-content .charge-order-edit {                width: 120px;                min-width: 120px;                max-width: 120px;            }            .refund-detail-item-table-wrap #refund-detail-item-table table .charge-detail-edit {                width: 80px;                min-width: 80px;                max-width: 80px;            }                .refund-detail-item-table-wrap #refund-detail-item-table table .charge-detail-edit.base-number-box .k-numeric-wrap,                .refund-detail-item-table-wrap .order-refund-info-content .charge-order-edit.base-number-box .k-numeric-wrap {                    height: 22px;                }                    .refund-detail-item-table-wrap #refund-detail-item-table table .charge-detail-edit.base-number-box .k-numeric-wrap .k-input,                    .refund-detail-item-table-wrap .order-refund-info-content .charge-order-edit.base-number-box .k-numeric-wrap .k-input {                        height: 22px;                        padding: 0 4px;                        font-size: 13px;                        text-align: right;                        box-sizing: border-box;                    }                .refund-detail-item-table-wrap #refund-detail-item-table table .charge-detail-edit.charge-detail-refund-price-edit {                }                .refund-detail-item-table-wrap #refund-detail-item-table table .charge-detail-edit.charge-detail-refund-count-edit {                    width: 60px;                    min-width: 60px;                    max-width: 60px;                }            .refund-detail-item-table-wrap table td,            .refund-detail-item-table-wrap table th {                font-weight: 400;            }            .refund-detail-item-table-wrap table .checkbox-cell {                width: 30px;                padding: 0 5px;            }                .refund-detail-item-table-wrap table .checkbox-cell .enyo-checkbox-label {                    width: 0;                    height: 16px;                    overflow: hidden;                    line-height: 16px;                    margin-top: 4px;                }            .refund-detail-item-table-wrap #order-refund-info-table {                width: 100%;            }            .refund-detail-item-table-wrap table .total-price-center-cell {                padding: 0 5px;                font-size: 13px;                text-align: center;            }            .refund-detail-item-table-wrap table tbody tr td.total-price-center-cell {                height: 32px;            }            .refund-detail-item-table-wrap table .item-name-cell {                width: 290px;                padding: 0 5px;                font-size: 0;            }            .refund-detail-item-table-wrap table .price-center-cell {                text-align: center;                width: 90px;                padding: 0 5px;            }            .refund-detail-item-table-wrap table .count-center-cell {                text-align: center;                width: 60px;                padding: 0 5px;            }            .refund-detail-item-table-wrap table .price-right-cell {                text-align: right;                width: 90px;                padding: 0 5px;            }            .refund-detail-item-table-wrap table tr input[type=checkbox] {                height: 14px;                width: 14px;                display: block;                margin: 6px;                cursor: pointer;            }            .refund-detail-item-table-wrap table thead tr th {                background: #f3f7f7;                height: 28px;                border-top: 1px solid #cfdbdd;                border-bottom: 1px solid #cfdbdd;                color: #262626;            }            .refund-detail-item-table-wrap table tfoot tr td {                background: #e0faff;                height: 28px;            }            .refund-detail-item-table-wrap table tbody tr td {                height: 32px;                border-bottom: 1px solid #cfdbdd;            }    </style>    <div id="order-refund-info-wrap">        <div class="order-refund-info-title">            <span class="order-refund-info-title-text">整单</span>            <div class="order-refund-info-title-setting row-item"                 ng-if="tableMode == \'金额模式\' && chargeOrderPriceHandle.hasCanRefundOverdue()">                <span class="row-cell-item">欠费选项:</span>                <div class="row-cell-item">                    <input type="radio" class="enyo-radio" id="isCancel" ng-value="true"                           name="isCancel" ng-model="chargeOrderPriceHandle.isCancelOverdue"                           ng-disabled="!orderEventOption.allowEditRefundOrder()">                    <label class="enyo-radio-label" for="isCancel">全免</label>                </div>                <div class="row-cell-item">                    <input type="radio" class="enyo-radio" id="isNotCancel" ng-value="false"                           name="isNotCancel" ng-model="chargeOrderPriceHandle.isCancelOverdue"                           ng-disabled="!orderEventOption.allowEditRefundOrder()">                    <label class="enyo-radio-label" for="isNotCancel">不减</label>                </div>            </div>        </div>        <div class="order-refund-info-content">            <table id="order-refund-info-table">                <thead>                    <tr>                        <th class="total-price-center-cell">收费总金额</th>                        <th class="total-price-center-cell"                            ng-if="chargeOrderPriceHandle.hasDeductionDetail && chargeOrderPriceHandle.srcAdvancePrice">划扣预收费</th>                        <th class="total-price-center-cell"                            ng-if="chargeOrderPriceHandle.hasDeductionDetail">划扣执行项目金额</th>                        <th class="total-price-center-cell">{{chargeOrderPriceHandle.hasDeductionDetail?\'普通项目\':\'\'}}可退金额</th>                        <th class="total-price-center-cell"                            ng-show="tableMode == \'金额模式\'">需退金额</th>                    </tr>                </thead>                <tbody>                    <tr>                        <td class="total-price-center-cell">                            {{ toMoneyMethod(chargeOrderPriceHandle.srcActualPrice) }}                        </td>                        <td class="total-price-center-cell"                            ng-if="chargeOrderPriceHandle.hasDeductionDetail && chargeOrderPriceHandle.srcAdvancePrice">                            {{ toMoneyMethod(chargeOrderPriceHandle.srcAdvancePrice) }}                        </td>                        <td class="total-price-center-cell"                            ng-if="chargeOrderPriceHandle.hasDeductionDetail ">                            {{ toMoneyMethod(chargeOrderPriceHandle.srcDeductionExecutedActualPrice) }}                        </td>                        <td class="total-price-center-cell">                            {{ toMoneyMethod(chargeOrderPriceHandle.srcCommonDetailCanRefundPrice) }}                        </td>                        <td class="total-price-center-cell"                            ng-show="tableMode == \'金额模式\'">                            <base-number-box-view name="refund-total-price"                                                  class="charge-order-refund-total-price-edit charge-order-edit"                                                  custom-id="refund-total-price-box"                                                  bind-value-field="chargeOrderPriceHandle.totalRefundPrice"                                                  bind-context="chargeOrderPriceHandle"                                                  number-box-option="refundTotalPriceOption"                                                  kendo-action-obj="refundTotalPriceBox">                            </base-number-box-view>                        </td>                    </tr>                </tbody>            </table>        </div>    </div>    <div id="detail-refund-info-wrap">        <div class="detail-refund-info-title">            <span class="detail-refund-info-title-text "                  ng-class="{\'detail-refund-table-switch\':tableMode == \'金额模式\'}"                  ng-click="onSwitchDetailRefundPrice()">                <i ng-show="tableMode == \'金额模式\'" class="iconfont"                   ng-class="{\'icon-shang\': isShowRefundPriceDetail, \'icon-xiangyouguanbi\': !isShowRefundPriceDetail }"></i>                明细            </span>            <div class="detail-refund-info-title-setting row-item "                 ng-show="chargeOrderPriceHandle.hasDeductionDetail && chargeOrderPriceHandle.srcAdvancePrice">                <div class="row-cell-item" ng-show="tableMode == \'金额模式\'">                    <input type="checkbox" class="enyo-checkbox" id="advanceIsFirstRefund"                           ng-checked="chargeOrderPriceHandle.isFirstRefundAdavnce"                           ng-click="onSwitchIsFirstRefundAdavnce()"                           ng-disabled="!orderEventOption.allowEditRefundOrder()">                    <label class="enyo-checkbox-label" for="advanceIsFirstRefund">划扣预收费优先分配</label>                </div>                <span class="row-cell-item" ng-show="tableMode == \'金额模式\'" style="color:#D9D9D9">|</span>                <span class="row-cell-item">划扣预收费退费</span>                <span class="row-cell-item"                      style="min-width:72px;font-size: 13px;color: #00A6C9;text-align: right;">                    {{ toMoneyMethod(chargeOrderPriceHandle.refundAdvancePrice) }}                </span>                <span class="row-cell-item" ng-show="tableMode == \'金额模式\'" style="color:#D9D9D9">|</span>            </div>        </div>        <div class="detail-refund-info-content">            <table id="refund-detail-item-table-header" ng-show="tableMode != \'金额模式\' || isShowRefundPriceDetail">                <thead>                    <tr>                        <th class="checkbox-cell" ng-show="tableMode == \'数量模式\'">                            <input type="checkbox" class="enyo-checkbox" ng-checked="getIsReimburseAll()"                                   ng-disabled="!allowSelectItem()" ng-click="onSelectAll()"                                   id="checkboxAll">                            <label class="enyo-checkbox-label" for="checkboxAll">全选</label>                        </th>                        <th class="item-name-cell">项目名称</th>                        <th class="price-right-cell" ng-cloak                            ng-if="tableMode == \'数量模式\'&& chargeOrderPriceHandle.isDetailCharge()">                            单价                        </th>                        <th class="count-center-cell" ng-cloak                            ng-if="tableMode == \'数量模式\'&& chargeOrderPriceHandle.isDetailCharge()">                            数量                        </th>                        <th class="price-right-cell" ng-cloak                            ng-if="tableMode == \'数量模式\'">                            应收                        </th>                        <th class="price-right-cell" ng-cloak style="width:180px;"                            ng-if="tableMode == \'金额模式\'">                            应收                        </th>                        <th class="price-right-cell" ng-cloak                            ng-if="tableMode == \'数量模式\' && chargeOrderPriceHandle.isDetailCharge()">                            可退金额                        </th>                        <th class="price-right-cell" ng-cloak style="width:180px;"                            ng-if="tableMode == \'金额模式\'|| !chargeOrderPriceHandle.isDetailCharge()">                            可退金额                        </th>                        <th class="price-right-cell" ng-cloak                            ng-if="tableMode == \'数量模式\' && !chargeOrderPriceHandle.isDetailCharge()">                            欠费                        </th>                        <th class="price-right-cell" ng-cloak style="width:180px;"                            ng-if="tableMode == \'金额模式\' || !chargeOrderPriceHandle.isDetailCharge()">                            退金额                        </th>                        <th class="price-right-cell" ng-cloak                            ng-if="tableMode == \'数量模式\' && chargeOrderPriceHandle.isDetailCharge()">                            可退数量                        </th>                        <th class="price-right-cell ng-cloak"                            ng-if="tableMode == \'数量模式\' && chargeOrderPriceHandle.isDetailCharge()">                            需退数量                        </th>                    </tr>                </thead>            </table>            <div id="refund-detail-item-table" ng-show="tableMode != \'金额模式\' || isShowRefundPriceDetail">                <table>                    <tbody class="ng-cloak" ng-show="tableMode == \'数量模式\'">                        <tr ng-repeat="chargeDetail in chargeDetailPriceHandleList track by chargeDetail.sourceDetailId"                            ng-class="chargeDetail.canRefund()?\'charge-detail-refunded\':\'\'">                            <td class="checkbox-cell">                                <input type="checkbox" class="enyo-checkbox" ng-model="chargeDetail.isReimburse"                                       ng-disabled="!allowSelectItem(chargeDetail)" ng-click="onSelectItem(chargeDetail)"                                       id="checkbox{{$index}}">                                <label class="enyo-checkbox-label" for="checkbox{{$index}}">选{{$index}}</label>                            </td>                            <td class="item-name-cell">                                <span ng-if="chargeDetail.isDeductionEnabled" class="deduction-detail-item">划扣</span>                                <span class="single-line-text" title="{{ ::chargeDetail.name}}">{{ ::chargeDetail.name }} </span>                                <span ng-if="chargeDetail.isDeductionEnabled" class="deduction-executing-status">                                    {{ ::getRefundDetailExecutingStatus(chargeDetail) }}                                </span>                            </td>                            <td class="price-right-cell" ares-if="::chargeOrderPriceHandle.isDetailCharge()">                                {{ ::toMoneyMethod(chargeDetail.historySinglePrice) }}                            </td>                            <td class="count-center-cell" ares-if="::chargeOrderPriceHandle.isDetailCharge()">                                {{ ::chargeDetail.historyCount  }}                            </td>                            <td class="price-right-cell">                                {{ ::toMoneyMethod(chargeDetail.historyFullAfterDiscountPlanPrice) }}                            </td>                            <td class="price-right-cell" ng-if="chargeDetail.isDetailCharge() && chargeDetail.isDeductionEnabled && (chargeDetail.hasExecutedFullStep || chargeDetail.executedCount > 0)">                                {{ ::getRefundDetailExecutingStatus(chargeDetail) }}                            </td>                            <td class="price-right-cell" ng-if="chargeDetail.isDetailCharge() && !chargeDetail.isDeductionEnabled">                                {{ ::toMoneyMethod(chargeDetail.historyActualPrice) }}                            </td>                            <td class="price-right-cell" ng-if="!chargeDetail.isDetailCharge()" style="width:180px;">                                {{ ::toMoneyMethod(chargeDetail.historyActualPrice) }}                            </td>                            <td class="price-right-cell" ng-if=" chargeDetail.isDetailCharge() && chargeDetail.isDeductionEnabled  && !chargeDetail.hasExecutedFullStep && chargeDetail.executedCount == 0">                                未执行                            </td>                            <td class="price-right-cell" ng-if="!chargeDetail.isDetailCharge()">{{ ::toMoneyMethod(chargeDetail.historyOverdue) }}</td>                            <td class="price-right-cell" ng-if="!chargeDetail.isDetailCharge()" style="width:180px;">{{ ::toMoneyMethod(chargeDetail.refundPrice) }}</td>                            <td class="price-right-cell" ng-if="chargeDetail.isDetailCharge()">{{ ::chargeDetail.canRefundCount }}</td>                            <td class="price-right-cell" ng-show="chargeDetail.isDetailCharge()">                                <base-number-box-view name="refund-count-{{ $index }}"                                                      class="charge-detail-refund-count-edit charge-detail-edit"                                                      custom-id="refund-count-number-box-{{ $index }}"                                                      default-decimals="0" default-format="n0"                                                      bind-value-field="chargeDetail.refundCount"                                                      bind-context="chargeDetail"                                                      number-box-option="refundCountBoxOption">                                </base-number-box-view>                            </td>                        </tr>                    </tbody>                    <tbody class="ng-cloak" ng-show="tableMode == \'金额模式\'">                        <tr ng-repeat="chargeDetail in chargeDetailPriceHandleList track by chargeDetail.sourceDetailId"                            ng-class="chargeDetail.canRefund()?\'charge-detail-refunded\':\'\'">                            <td class="item-name-cell">                                <span ng-if="chargeDetail.isDeductionEnabled" class="deduction-detail-item">划扣</span>                                <span class="single-line-text" title="{{ ::chargeDetail.name}}">{{ ::chargeDetail.name }} </span>                                <span ng-if="chargeDetail.isDeductionEnabled" class="deduction-executing-status">                                    {{ ::getRefundDetailExecutingStatus(chargeDetail) }}                                </span>                            </td>                            <td class="price-right-cell" style="width:180px;">{{ ::toMoneyMethod(chargeDetail.historyFullAfterDiscountPlanPrice) }}</td>                            <td class="price-right-cell" style="width:180px;">{{ (isShowRefundPriceInfo(chargeDetail)? toMoneyMethod(chargeDetail.historyActualPrice):\'\') }}</td>                            <td class="price-right-cell" style="width:180px;">                                <base-number-box-view name="refund-price-{{ $index }}"                                                      ng-show="isShowRefundPriceInfo(chargeDetail)"                                                      class="charge-detail-refund-price-edit charge-detail-edit"                                                      custom-id="refund-price-number-box-{{ $index }}"                                                      bind-value-field="chargeDetail.refundPrice"                                                      bind-context="chargeDetail"                                                      number-box-option="refundPriceBoxOption">                                </base-number-box-view>                            </td>                        </tr>                    </tbody>                </table>            </div>            <div class="row-item">                <span class="row-cell-item" style="width:100%;font-size:12px;color:#898989;text-align:right;padding-right:10px;"                      ng-show="tableMode == \'金额模式\' && chargeOrderPriceHandle.hasDeductionDetail && chargeOrderPriceHandle.srcAdvancePrice">                    注：划扣项目不支持退金额                </span>            </div>        </div>    </div>    <div id="refund-detail-item-table-footer" ng-click="onSwitchDetailRefundTotal()">        <div class="pull-left total-base-info-item">            <i class="iconfont" ng-class="{\'icon-shang\': isShowRefundTotalDetail, \'icon-xiangyouguanbi\': !isShowRefundTotalDetail }"></i>            总计        </div>        <div class="pull-right total-base-info-item row-item" style="font-size:0;">            <span class="row-cell-item">退费金额：</span>            <span class="row-cell-item"                  style="width:100px;color:#F7871D ;font-size:16px;font-weight:600;text-align:right;">                {{ toMoneyMethod(refundPriceInfo.getAbsTotalActualPrice()) }}            </span>        </div>        <div id="refund-total-detail" ng-if="isShowRefundTotalDetail">            <ul class="pull-right">                <li class="row-item" style="height:24px;line-height:24px;">                    <span class="row-cell-item">退实收金额：</span>                    <span class="row-cell-item"                          style="width:100px;text-align:right;">                        {{ toMoneyMethod(chargeOrderPriceHandle.totalRefundActualPrice) }}                    </span>                </li>                <li class="row-item" style="height:24px;line-height:24px;"                    ng-if="chargeOrderPriceHandle.hasDeductionDetail && chargeOrderPriceHandle.srcAdvancePrice>0">                    <span class="row-cell-item">退划扣预收金额：</span>                    <span class="row-cell-item"                          style="width:100px;text-align:right;">                        {{ toMoneyMethod(chargeOrderPriceHandle.refundAdvancePrice) }}                    </span>                </li>                <li class="row-item" style="height:24px;line-height:24px;">                    <span class="row-cell-item">欠费变动金额：</span>                    <span class="row-cell-item"                          style="width:100px;text-align:right;">                        {{ toMoneyMethod(chargeOrderPriceHandle.refundOverdue) }}                    </span>                </li>                <li class="row-item" style="height:24px;line-height:24px;">                    <span class="row-cell-item">退后应收金额：</span>                    <span class="row-cell-item"                          style="width:100px;text-align:right;">                        {{ toMoneyMethod(chargeOrderPriceHandle.historyFullAfterDiscountPlanPrice - chargeOrderPriceHandle.refundFullAfterDiscountPlanPrice) }}                    </span>                </li>                <li class="row-item" style="height:24px;line-height:24px;">                    <span class="row-cell-item">退后实收金额：</span>                    <span class="row-cell-item"                          style="width:100px;text-align:right;">                        {{ toMoneyMethod(chargeOrderPriceHandle.historyActualPrice - chargeOrderPriceHandle.totalRefundActualPrice) }}                    </span>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-refund-extend-info/charge-refund-extend-info-view.html','<div class="charge-refund-extend-info-wrap enyo">    <style>        .charge-refund-extend-info-wrap {            background: #f3f7f7;        }            .charge-refund-extend-info-wrap .refund-extend {                max-height: 124px;                overflow-y: auto;            }            .charge-refund-extend-info-wrap div {                box-sizing: border-box;            }            .charge-refund-extend-info-wrap .refund-info-row {                min-height: 40px;                width: 100%;                font-size: 0            }                .charge-refund-extend-info-wrap .refund-info-row .refund-pay-info-list {                    display: inline-block;                    vertical-align: middle;                    font-size: 0;                    padding: 0;                    margin: 0;                }                .charge-refund-extend-info-wrap .refund-info-row .require {                    color: red;                }                .charge-refund-extend-info-wrap .refund-info-row .base-number-box .k-numeric-wrap {                    height: 26px;                }                    .charge-refund-extend-info-wrap .refund-info-row .base-number-box .k-numeric-wrap .k-input {                        height: 26px;                        padding: 1px 5px;                        font-size: 13px;                        text-align: right;                        box-sizing: border-box;                    }                .charge-refund-extend-info-wrap .refund-info-row .base-drop-down-list .k-dropdown-wrap {                    height: 28px;                }                    .charge-refund-extend-info-wrap .refund-info-row .base-drop-down-list .k-dropdown-wrap .k-input {                        height: 26px;                        line-height: 22px;                        padding: 1px 5px;                        font-size: 13px;                        box-sizing: border-box;                    }                    .charge-refund-extend-info-wrap .refund-info-row .base-drop-down-list .k-dropdown-wrap .k-select {                        min-height: 26px;                        line-height: 26px;                    }                .charge-refund-extend-info-wrap .refund-info-row .base-combo-box .k-dropdown-wrap {                    height: 30px;                }                    .charge-refund-extend-info-wrap .refund-info-row .base-combo-box .k-dropdown-wrap .k-input {                        height: 30px;                        line-height: 26px;                        padding: 1px 5px;                        font-size: 14px;                        box-sizing: border-box;                    }                    .charge-refund-extend-info-wrap .refund-info-row .base-combo-box .k-dropdown-wrap .k-select {                        min-height: 30px;                        line-height: 30px;                    }                .charge-refund-extend-info-wrap .refund-info-row .k-datetimepicker {                    width: auto;                }                    .charge-refund-extend-info-wrap .refund-info-row .k-datetimepicker .k-picker-wrap {                        height: 30px;                    }                        .charge-refund-extend-info-wrap .refund-info-row .k-datetimepicker .k-picker-wrap .k-input {                            height: 30px;                            line-height: 26px;                            padding: 1px 5px;                            font-size: 14px;                            box-sizing: border-box;                        }                        .charge-refund-extend-info-wrap .refund-info-row .k-datetimepicker .k-picker-wrap .k-select {                            min-height: 30px;                            line-height: 30px;                        }                .charge-refund-extend-info-wrap .refund-info-row .refund-info-item {                    display: inline-block;                    vertical-align: middle;                    font-size: 13px;                    padding: 0 5px;                }                    .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-info-item-title {                        font-size: 13px;                        line-height: 20px;                        height: 20px;                        margin: 0;                        padding: 0;                    }                    .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-info-item-context {                        height: 28px;                        margin: 0;                        padding: 0;                    }                        .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-info-item-context .refund-price-description {                            display: inline-block;                            vertical-align: middle;                            line-height: 28px;                            font-size: 12px;                            color: #00a6c9;                        }                    .charge-refund-extend-info-wrap .refund-info-row .refund-info-item.cash-price-info-type {                        padding-right: 0;                    }                    .charge-refund-extend-info-wrap .refund-info-row .refund-info-item.cash-price-info-price {                        padding-left: 0;                    }                    .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-order-note {                        background: #ffffff;                        border: 1px solid #cfdbdd;                        width: 500px;                        max-width: 500px;                        height: 28px;                        font-size: 13px;                        padding: 2px 5px;                        line-height: 20px;                    }                        .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-order-note:hover,                        .charge-refund-extend-info-wrap .refund-info-row .refund-info-item .refund-order-note:focus {                            border-color: #00a6c9;                        }                .charge-refund-extend-info-wrap .refund-info-row.refund-order-payment-info-wrap {                    padding-top: 8px;                }                .charge-refund-extend-info-wrap .refund-info-row.retund-order-other-info-wrap {                    margin-top: 8px;                    padding-bottom: 10px;                }                .charge-refund-extend-info-wrap .refund-info-row.retund-order-last-info-wrap {                    height: 56px;                    position: absolute;                    bottom: 0px;                }            .charge-refund-extend-info-wrap .retund-order-last-info-wrap {                border-top: 1px solid #cfdbdd;                text-align: left;                font-weight: 400;            }                .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-info-item {                    height: 32px;                    margin: 12px 0;                }                    .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-info-item .refund-last-info-title {                        margin: 0;                        line-height: 32px;                        font-weight: 400;                        vertical-align: middle;                    }                    .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-info-item .refund-last-info-content {                    }                    .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-info-item #refund-date-time-drop-down {                        width: 180px;                        min-width: 180px;                        max-width: 180px;                    }                .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-last-action-info {                    font-size: 0;                    padding: 0 10px 0 0;                    float: right;                }                    .charge-refund-extend-info-wrap .retund-order-last-info-wrap .refund-last-action-info .refund-order-last-action-button {                        width: auto;                        height: 32px;                        line-height: 32px;                        font-size: 14px;                        vertical-align: middle;                        display: inline-block;                        padding: 0 10px;                        margin: 0 0 0 10px;                    }                .charge-refund-extend-info-wrap .retund-order-last-info-wrap #refund-actual-total-price {                    font-size: 20px;                    color: #f7871d;                    line-height: 32px;                    height: 32px;                    vertical-align: middle;                }            .charge-refund-extend-info-wrap .huifu-box-refund-warn {                color: #3D3D3D;                font-family: PingFangSC-Medium;                background: #FDF1D4;                max-width: 300px;                border: 1px solid #FFC021;            }    </style>    <div class="refund-extend">        <div class="refund-order-payment-info-wrap refund-info-row">            <div class="refund-pay-info-list" ng-repeat="validPayInfo in refundPriceInfo.validPayInfoList">                <div class="refund-info-item cash-price-info-type" ng-if="validPayInfo.isCashPay">                    <p class="refund-info-item-title">退费方式</p>                    <div class="refund-info-item-context">                        <base-drop-down-list-view custom-id="\'cash-price-pay-type\'"                                                  class="pay-type-drop-down-list" style=" width:240px"                                                  filter="contains" auto-width="true"                                                  value-field=\'itemName\' text-field=\'itemName\'                                                  bind-value-field="validPayInfo.payType"                                                  bind-context="validPayInfo"                                                  bind-data-source="refundPayTypes"                                                  drop-down-list-option="cashPricePayTypeOption">                        </base-drop-down-list-view>                    </div>                </div>                <div class="refund-info-item cash-price-info-price" ng-if="validPayInfo.isCashPay">                    <p class="refund-info-item-title">退费金额</p>                    <div class="refund-info-item-context">                        <base-number-box-view name="pay-price-1"                                              style="width:80px;"                                              custom-id="cash-price-number-box"                                              bind-value-field="validPayInfo.actualPrice"                                              bind-context="validPayInfo"                                              number-box-option="cashPriceBoxOption">                        </base-number-box-view>                    </div>                </div>                <div class="refund-info-item gift-price-info" ng-if="validPayInfo.isGiftPay">                    <p class="refund-info-item-title">{{ validPayInfo.payType }}退费</p>                    <div class="refund-info-item-context">                        <base-number-box-view name="refund-gift-price-{{$index}}"                                              style="width:80px;"                                              custom-id="refund-gift-price-{{$index}}"                                              bind-value-field="validPayInfo.actualPrice"                                              bind-context="validPayInfo"                                              number-box-option="giftPriceBoxOption">                        </base-number-box-view>                        <span class="refund-price-description" ng-if="validPayInfo.isGiftPay">                            最大可退 {{ toMoneyMethod(validPayInfo.srcActualPrice)}}                        </span>                    </div>                </div>                <div class="refund-info-item gift-price-info" ng-if="validPayInfo.isIntegratePay">                    <p class="refund-info-item-title">{{ validPayInfo.payType }}退费</p>                    <div class="refund-info-item-context">                        <base-number-box-view name="refund-gift-price-{{$index}}"                                              style="width:80px;"                                              custom-id="refund-gift-price-{{$index}}"                                              bind-value-field="validPayInfo.actualPrice"                                              bind-context="validPayInfo"                                              number-box-option="giftPriceBoxOption">                        </base-number-box-view>                        <span class="refund-price-description" ng-if="validPayInfo.isIntegratePay">                            最大可退 {{ toMoneyMethod(validPayInfo.srcActualPrice)}}                        </span>                    </div>                </div>                <div class="refund-info-item gift-price-info" ng-if="validPayInfo.isFullRefund">                    <p class="refund-info-item-title">{{ validPayInfo.payType }}退费</p>                    <div class="refund-info-item-context">                        <base-number-box-view name="refund-gift-price-{{$index}}"                                              style="width:80px;"                                              custom-id="refund-gift-price-{{$index}}"                                              bind-value-field="validPayInfo.actualPrice"                                              bind-context="validPayInfo"                                              number-box-option="refundOrderPriceBoxOption">                        </base-number-box-view>                    </div>                </div>            </div>            <div class="refund-info-item huifu-box-refund-warn" ng-if="isShowHuifuboxFullRefundWarn()">                注意：当前收费单包含支付方式为"汇付/小白盒",退费操作成功将实时                把退费金额原路转入患者支付账户。需要开启退费审批功能以确认操作。            </div>            <div class="refund-info-item huifu-box-refund-warn" style="max-width:240px;" ng-if="isShowHuifuboxPartRefundWarn()">                选择了退费模式"汇付/小白盒"，确认后退款金额将直接退到患者银行卡账户。            </div>        </div>        <div class="retund-order-other-info-wrap refund-info-row">            <div class="refund-info-item refund-reason-info" ng-show="orderEventOption.isShowRefundReason()">                <p class="refund-info-item-title">退费原因<b class="require">*</b>:</p>                <div class="refund-info-item-context">                    <base-drop-down-list-view custom-id="refund-reason-drop-down-list"                                              class="refund-reaso-drop-down-list" style=" width:240px"                                              filter="contains" auto-width="true"                                              value-field=\'itemName\' text-field=\'itemName\'                                              bind-value-field="refundOrderPriceHandle.reason"                                              bind-data-source="refundReasons"                                              drop-down-list-option="refundReasonOption"                                              placeholder="请选择退费原因">                    </base-drop-down-list-view>                </div>            </div>            <div class="refund-info-item refund-note-info">                <p class="refund-info-item-title">备注<b class="require">*</b>:</p>                <div class="refund-info-item-context">                    <textarea class="refund-order-note comment-textarea form-control"                              ng-model="refundOrderPriceHandle.comments"                              ng-disabled="!orderEventOption.allowEditNote()"                              placeholder="请输入备注"></textarea>                </div>            </div>        </div>        <div class="retund-order-other-info-wrap refund-info-row" style="margin-top: 0px;" ng-show="invoiceAssist.canAction()">            <div class="refund-info-item refund-note-info">                <p class="refund-info-item-title">                    发票号：                </p>                <input ng-if="invoiceAssist.isPrinted()"                       type="text" class="order-form-item-content form-control"                       ng-model="invoiceAssist.currentNumber"                       style="display: inline;"                       ng-disabled="true" />                <a class="other-action-btn" ng-click="invoiceAssist.cancelNumber()"                   kendo-tooltip k-content="\'作废\'" k-position="\'top\'" ng-if="invoiceAssist.isPrinted()">                    <span class="glyphicon glyphicon-ban-circle"></span>                </a>                <div style="width: 400px;">                    <label class="order-form-item-text" style="width:auto; margin-top: 5px;" ng-if="!invoiceAssist.isPrinted()">{{invoiceAssist.currentInvoiceNoRule.prefix}}</label>                    <input ng-if="!invoiceAssist.isPrinted()"                           style="height: 28px; display: inline;"                           type="text" class="order-form-item-content invoice-number-box form-control"                           ng-model="invoiceAssist.currentValue"                           ng-blur="invoiceAssist.onCurrentValueChanged()" />                </div>            </div>            <div class="refund-info-item refund-note-info"  ng-show="!invoiceAssist.isPrinted()">                <p class="refund-info-item-title"> 发票包：</p>                <base-drop-down-list-view class="order-form-item-content invoice-package-list"                                          text-field="packageTextLabel"                                          value-field="id"                                          bind-value-field="invoiceAssist.usedPackageId"                                          bind-data-source="invoiceAssist.packageList"                                          drop-down-list-option="invoiceAssist.packageListOption">            </div>        </div>    </div>    <div class="retund-order-last-info-wrap refund-info-row">        <div class="refund-info-item refund-date-time-info">            <label class="refund-last-info-title">退费时间<b class="require">*</b>:</label>            <input class="refund-last-info-content refund-info-date-time" id="refund-date-time-drop-down" />        </div>        <div class="refund-info-item refund-date-time-info">            <button class="btn btn-default" style="margin: 1px 5px;"                    ng-show="isShowAppendRefundBtn()"                    ng-click="switchIsAppendEnalbed()">                {{isAppendRefundEnable?\'停用补录\':\'启动补录\'}}            </button>        </div>        <div class="refund-info-item refund-payee-info">            <label class="refund-last-info-title">退费人<b class="require">*</b>:</label>            <base-combo-box-view class="refund-last-info-content refund-payee-combo-box"                                 style=" width:120px"                                 bind-text-field="refundOrderPriceHandle.payeeName"                                 bind-value-field="refundOrderPriceHandle.payeeId"                                 bind-data-source="refundPayeeList"                                 combo-box-option="refundPayeeComboBoxOption"                                 placeholder="请选择退费人"></base-combo-box-view>        </div>        <div class="refund-info-item refund-last-action-info">            <button class="refund-order-last-action-button btn btn-default"                    ng-if="lastActionInfo.save.isShow()"                    ng-click="lastActionInfo.save.event();">                保存            </button>            <button class="refund-order-last-action-button btn btn-primary"                    ng-if="lastActionInfo.refund.isShow()"                    ng-click="lastActionInfo.refund.event()">                确认退费            </button>            <button class="refund-order-last-action-button btn btn-default"                    ng-if="lastActionInfo.print.isShow()"                    ng-click="lastActionInfo.print.event(this)">                打印            </button>            <button class="refund-order-last-action-button btn btn-default"                    ng-if="lastActionInfo.yibaoPrint.isShow()"                    ng-click="lastActionInfo.yibaoPrint.event()">                医保打印            </button>            <button class="refund-order-last-action-button btn btn-default"                    ng-if="lastActionInfo.printInvoice.isShow()"                    ng-click="lastActionInfo.printInvoice.event(this)">                发票打印            </button>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-shangbao-order-last-action-info/charge-new-shangbao-order-last-action-info-view.html','<div class="new-shang-bao-order-last-action-info-wrap">    <style scoped>        .new-shang-bao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.save.canUse()"            ng-click="onSaveClick()">        保存    </button>    <button ng-if="yibaoLastActoinInfo.preSettlement.isShow()"            class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.preSettlement.canUse()"            ng-click="onPreSettlementClick()">        试算    </button>    <button ng-if="yibaoLastActoinInfo.settlement.isShow()"            class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="onSettlementClick()">        结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-if="yibaoLastActoinInfo.bill.isShow()"            ng-disabled="!yibaoLastActoinInfo.bill.canUse()"            ng-click="yibaoLastActoinInfo.bill.event()">        收费    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="lc-btn-group pull-right print-action-wrap" role="group">        <button class="btn btn-default"                ng-if="checkIsShowGiftDrawMethod()"                ng-click="drawGiftCertificate()">            发优惠券        </button>        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div></div>');templateCache.put('/app/charge/components/charge-shangbao-order-last-action-info/charge-shangbao-gateway-last-action-info-view.html','<div class="new-shang-bao-order-last-action-info-wrap">    <style scoped>        .new-shang-bao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!insuranceLastActionInfo.save.canUse()"            ng-click="onSaveClick()">        保存    </button>    <button ng-if="insuranceLastActionInfo.preSettlement.isShow()"            class="btn btn-default ares-btn-blue"            ng-disabled="!insuranceLastActionInfo.preSettlement.canUse()"            ng-click="onPreSettlementClick()">        试算    </button>    <button ng-if="insuranceLastActionInfo.settlement.isShow()"            class="btn btn-default ares-btn-blue"            ng-disabled="!insuranceLastActionInfo.settlement.canUse()"            ng-click="onSettlementClick()">        结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-if="insuranceLastActionInfo.bill.isShow()"            ng-disabled="!insuranceLastActionInfo.bill.canUse()"            ng-click="insuranceLastActionInfo.bill.event()">        收费    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="orderEventInfo.lastActionInfo.close && orderEventInfo.lastActionInfo.close.isShow()"            ng-click="orderEventInfo.lastActionInfo.close.event()">        关闭    </button>    <div class="lc-btn-group pull-right print-action-wrap" role="group">        <button class="btn btn-default"                ng-click="orderEventInfo.lastActionInfo.print.event(this)"                ng-disabled="orderEventInfo.lastActionInfo.print && orderEventInfo.lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="orderEventInfo.lastActionInfo.printSetup && orderEventInfo.lastActionInfo.printSetup.isShow()"                ares-config-click="orderEventInfo.lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div></div>');templateCache.put('/app/charge/components/charge-shangbao-order-last-action-info/charge-shangbao-order-last-action-info-view.html','<div class="shangbao-order-last-action-info-wrap">    <style scoped>        .shangbao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!shangbaoLastActoinInfo.preSettlement.canUse()"            ng-click="shangbaoLastActoinInfo.preSettlement.event()">        预结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!shangbaoLastActoinInfo.settlement.canUse()"            ng-click="shangbaoLastActoinInfo.settlement.event()">        结算    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div></div>');templateCache.put('/app/charge/components/charge-workflow-info/charge-workflow-info-view.html','<div class="charge-order-extend-wrap enyo" ng-show="isPendingWorkflow">    <div class="order-form-row">        <div class="order-form-item">            <label class="order-form-item-text" style="width:auto;max-width:200px;">                {{ cancelOrderTypeStr }}            </label>        </div>        <div class="order-form-item yibao-inpatient-number" ng-if="isChargeCancelWorkflow">            <label class="order-form-item-text">                作废原因：            </label>            <label class="order-form-item-content" style="margin: 0;line-height:34px;">                {{ workflowOrder.reason }}            </label>        </div>    </div>    <div class="order-form-row" ng-if="isChargeCancelWorkflow">        <div class="order-form-row">            <div class="order-form-item">                <label class="order-form-item-text">作废备注：</label>                <label class="order-form-item-content" style="margin: 0;line-height:34px;">                    {{ workflowOrder.comments }}                </label>            </div>        </div>    </div>    <div class="order-form-row" ng-if="isChargeBilledUpdateWorkflow">        <div class="order-form-row" ng-repeat="updatePayTypeInfo in updatePayTypeInfos">            <div class="order-form-item">                <label class="order-form-item-text">支付方式：</label>                <label class="order-form-item-content" style="margin: 0;line-height:34px;">                    旧 {{ updatePayTypeInfo.oldName }} ->  新 {{ updatePayTypeInfo.newName }}                </label>            </div>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-order-last-action-info/charge-yibao-order-last-action-info-cs-view.html','<div class="yibao-order-last-action-info-wrap">    <style scoped>        .yibao-order-last-action-info-wrap .clean-btn{            margin-left:15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.inHospital.canUse()"            ng-click="yibaoLastActoinInfo.inHospital.event()">        入院    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.prescriptUpload.canUse()"            ng-click="yibaoLastActoinInfo.prescriptUpload.event()">        上传    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.preSettlement.canUse()"            ng-click="yibaoLastActoinInfo.preSettlement.event()">        预结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="yibaoLastActoinInfo.settlement.event()">        出院结算    </button>    <button class="btn btn-default ares-btn-gray clean-btn"            ng-disabled="!yibaoLastActoinInfo.inHospitalCancel.canUse()"            ng-click="yibaoLastActoinInfo.inHospitalCancel.event()">        撤销入院    </button>    <button class="btn btn-default ares-btn-gray"            ng-disabled="!yibaoLastActoinInfo.prescriptCancel.canUse()"            ng-click="yibaoLastActoinInfo.prescriptCancel.event()">        撤销上传    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-order-last-action-info/charge-yibao-order-last-action-info-gateway-view.html','<div class="yibao-order-last-action-info-wrap">    <style scoped>        .yibao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default btn-primary ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.save.canUse()"            ng-click="onSaveClick()">        保存    </button>    <button ng-if="yibaoLastActoinInfo.settlement.isShow()"            class="btn btn-default btn-primary ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="onSettlementClick()">        {{getSettleTitle()}}    </button>    <button class="btn btn-default btn-primary ares-btn-blue"            ng-if="yibaoLastActoinInfo.bill.isShow()"            ng-disabled="!yibaoLastActoinInfo.bill.canUse()"            ng-click="yibaoLastActoinInfo.bill.event()">        收费    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-if="checkIsShowGiftDrawMethod()"                ng-click="drawGiftCertificate()">            发优惠券        </button>        <button class="btn btn-default" ng-click="yibaoLastActoinInfo.printInvoice.event(this)"                ng-if="yibaoLastActoinInfo.printInvoice.isShow()">            发票打印        </button>        <button class="btn btn-default"                ng-if="yibaoLastActoinInfo.checkInPrint.isShow()"                ng-disabled="!yibaoLastActoinInfo.checkInPrint.canUse()"                ng-click="yibaoLastActoinInfo.checkInPrint.event()">            挂号打印        </button>        <button class="btn btn-default"                ng-if="yibaoLastActoinInfo.yibaoPrint.isShow()"                ng-disabled="!yibaoLastActoinInfo.yibaoPrint.canUse()"                ng-click="yibaoLastActoinInfo.yibaoPrint.event()">            医保打印        </button>        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-order-last-action-info/charge-yibao-order-last-action-info-gdgz-view.html','<div class="yibao-order-last-action-info-wrap">    <style scoped>        .yibao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.save.canUse()"            ng-click="yibaoLastActoinInfo.save.event()">        保存    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.upload.canUse()"            ng-click="yibaoLastActoinInfo.upload.event()">        上传    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="yibaoLastActoinInfo.settlement.event()">        结算    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div>    <div id="suriko-template" style="display:none;">        <style>            #suriko-template .template-body {                width: 790px;                height: 708px;                font-size: 14px;            }        </style>        <div class="template-body">            <table>                <tbody>                    <tr>                        <td style="width:14%">{{yibaoWorkflowManager.accountDate}}</td>                        <td style="width:14%">普通门诊</td>                        <td style="width:14%">统账在职</td>                        <td style="width:12%">{{yibaoWorkflowManager.yibaoPriceInfo.total}}</td>                        <td style="width:13%">{{yibaoWorkflowManager.yibaoPatientInfo.YearTotalAmount}}</td>                        <td style="width:13%">{{yibaoWorkflowManager.yibaoPatientInfo.RemainAmount}}</td>                        <td style="width:10%">{{yibaoWorkflowManager.yibaoPriceInfo.tcPay}}</td>                        <td style="width:8%">{{yibaoWorkflowManager.accounter}}</td>                        <td style="width:2%">{{rowOffset}}</td>                    </tr>                </tbody>            </table>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-order-last-action-info/charge-yibao-order-last-action-info-jxfz-view.html','<div class="yibao-order-last-action-info-wrap">    <style scoped>        .yibao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.save.canUse()"            ng-click="yibaoLastActoinInfo.save.event()">        保存    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.preSettlement.canUse()"            ng-click="yibaoLastActoinInfo.preSettlement.event()">        预结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="yibaoLastActoinInfo.settlement.event()">        结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.printSuriko.canUse()"            ng-click="yibaoLastActoinInfo.printSuriko.event()">        结算并登折    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div>    <div id="suriko-template" style="display:none;">        <style>            #suriko-template .template-body {                width: 790px;                height: 708px;                font-size: 14px;            }        </style>        <div class="template-body">            <table>                <tbody>                    <tr>                        <td style="width:14%">{{yibaoWorkflowManager.accountDate}}</td>                        <td style="width:14%">普通门诊</td>                        <td style="width:14%">统账在职</td>                        <td style="width:12%">{{yibaoWorkflowManager.yibaoPriceInfo.total}}</td>                        <td style="width:13%">{{yibaoWorkflowManager.yibaoPatientInfo.YearTotalAmount}}</td>                        <td style="width:13%">{{yibaoWorkflowManager.yibaoPatientInfo.RemainAmount}}</td>                        <td style="width:10%">{{yibaoWorkflowManager.yibaoPriceInfo.tcPay}}</td>                        <td style="width:8%">{{yibaoWorkflowManager.accounter}}</td>                        <td style="width:2%">{{rowOffset}}</td>                    </tr>                </tbody>            </table>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-order-last-action-info/charge-yibao-order-last-action-info-sz-view.html','<div class="yibao-order-last-action-info-wrap">    <style scoped>        .yibao-order-last-action-info-wrap .clean-btn {            margin-left: 15px;        }    </style>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.save.canUse()"            ng-click="yibaoLastActoinInfo.save.event()">        保存    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.register.canUse()"            ng-click="yibaoLastActoinInfo.register.event()">        挂号    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.preSettlement.canUse()"            ng-click="yibaoLastActoinInfo.preSettlement.event()">        预结算    </button>    <button class="btn btn-default ares-btn-blue"            ng-disabled="!yibaoLastActoinInfo.settlement.canUse()"            ng-click="yibaoLastActoinInfo.settlement.event()">        结算    </button>    <button class="btn btn-default ares-btn-gray"            ng-if="lastActionInfo.close && lastActionInfo.close.isShow()"            ng-click="lastActionInfo.close.event()">        关闭    </button>    <div class="btn-group pull-right" role="group">        <button class="btn btn-default"                ng-click="lastActionInfo.print.event(this)"                ng-disabled="lastActionInfo.print && lastActionInfo.print.isDisabled()">            打印        </button>        <button class="btn btn-default"                ng-if="lastActionInfo.printSetup && lastActionInfo.printSetup.isShow()"                ares-config-click="lastActionInfo.printSetup.event()">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div>    <div id="A5Template" style="display:none;">        <style scoped>            .regist-content {                text-align: center;                font-size: smaller;            }                .regist-content table {                    width: 100%;                    margin-top: 20px;                }                .regist-content .table-title {                    width: 48%;                    text-align: right;                }                .regist-content .table-content {                    width: 50%;                    text-align: left;                }        </style>        <div id="templateBody">            <div style="text-align:center">                <h1>门诊挂号单</h1>            </div>            <div class="regist-content">                <table>                    <tr><td class="table-title">编号：</td><td class="table-content"></td></tr>                    <tr><td class="table-title">日期：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.visitDate}}</td></tr>                    <tr><td class="table-title">科室：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.KSMC}}</td></tr>                    <tr><td class="table-title">金额：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">自费：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">姓名：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.patientName}}</td></tr>                    <tr><td class="table-title">性别：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.patientSex}}</td></tr>                    <tr><td class="table-title">年龄：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.age}}</td></tr>                    <tr><td class="table-title">电话：</td><td class="table-content"></td></tr>                    <tr><td class="table-title">操作员：</td><td class="table-content">{{yibaoWorkflowManager.operatorName}}</td></tr>                    <tr><td class="table-title">病人类型：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.patientType}}</td></tr>                    <tr><td class="table-title">医疗证号：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.insuranceCardNO}}</td></tr>                    <tr><td class="table-title">专家诊金：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.ZJZJ | toMoney}}</td></tr>                    <tr><td class="table-title">挂号费：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.GHF | toMoney}}</td></tr>                    <tr><td class="table-title">电脑号：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.computerNO}}</td></tr>                    <tr><td class="table-title">医保支付：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">合计金额：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.GHHJ | toMoney}}</td></tr>                    <tr><td class="table-title">账户余额：</td><td class="table-content">{{yibaoWorkflowManager.yibaoPatientInfo.availableAmount | toMoney}}</td></tr>                    <tr><td class="table-title">现金合计：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">记账合计：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">个人账户：</td><td class="table-content">0.00</td></tr>                    <tr><td class="table-title">实收金：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.SSJ | toMoney}}</td></tr>                    <tr><td class="table-title">找赎金：</td><td class="table-content">{{yibaoWorkflowManager.registerInfo.ZSJ | toMoney}}</td></tr>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/charge/components/charge-yibao-patient-info/charge-yibao-patient-info-view.html','<div class="panel panel-primary charge-panel yibao-patient-info-wrapper">    <style scoped>        .yibao-patient-info-wrapper .patient-info-title {            font-size: 16px;            line-height: 34px;        }        .yibao-patient-info-wrapper .patient-content-table {            width:100%;        }            .yibao-patient-info-wrapper .patient-content-table td {                vertical-align: top;                max-width: 150px;            }            .yibao-patient-info-wrapper .patient-content-table tr {                min-height: 23px;            }        .yibao-patient-info-wrapper .patient-content-header {            width: 75px;            color: #787c83;        }    </style>    <div class="panel-heading charge-panel-heading" style="text-align: center; padding: 5px 15px !important;">        <span class="patient-info-title">患者医保信息</span>    </div>    <div class="panel-body" ng-if="!areaCode">        <table class="patient-content-table">            <tr>                <td class="patient-content-header">姓名：</td>                <td>{{ yibaoPatientInfo.patientName }}</td>                <td class="patient-content-header">性别：</td>                <td>{{ yibaoPatientInfo.patientSex }}</td>                <td class="patient-content-header">年龄：</td>                <td>{{ yibaoPatientInfo.age }}</td>                <td class="patient-content-header">病人类型：</td>                <td>{{ yibaoPatientInfo.patientType }}</td>            </tr>            <tr>                <td class="patient-content-header">电脑号：</td>                <td>{{ yibaoPatientInfo.computerNO }}</td>                <td class="patient-content-header">医疗证号：</td>                <td>{{ yibaoPatientInfo.insuranceCardNO }}</td>                <td class="patient-content-header">就诊时间：</td>                <td>{{ yibaoPatientInfo.visitDate }}</td>                <td class="patient-content-header">个人账户：</td>                <td>{{ yibaoPatientInfo.availableAmount }}</td>            </tr>            <tr>                <td class="patient-content-header">单位编号：</td>                <td>{{ yibaoPatientInfo.orgNO }}</td>                <td class="patient-content-header">单位名称：</td>                <td>{{ yibaoPatientInfo.orgName }}</td>                <td class="patient-content-header" style="width:85px;">操作员编号：</td>                <td>{{ operatorCode }}</td>                <td class="patient-content-header">操作员：</td>                <td>{{ operatorName }}</td>            </tr>        </table></div>    <div class="panel-body" ng-if="areaCode==\'jxfz\'">        <table class="patient-content-table">            <tr>                <td class="patient-content-header">姓名：</td>                <td>{{ yibaoPatientInfo.Name }}</td>                <td class="patient-content-header">性别：</td>                <td>{{ yibaoPatientInfo.Sex }}</td>                <td class="patient-content-header">出生日期：</td>                <td>{{ yibaoPatientInfo.Birthday }}</td>                <td class="patient-content-header">病人类型：</td>                <td>医保</td>            </tr>            <tr>                <td class="patient-content-header">社保编号：</td>                <td>{{ yibaoPatientInfo.InsuranceNo }}</td>                <td class="patient-content-header">医疗证号：</td>                <td>{{ yibaoPatientInfo.InsuranceCardNo }}</td>                <td class="patient-content-header">就诊时间：</td>                <td>{{ yibaoPatientInfo.visitDate }}</td>                <td class="patient-content-header">个人账户：</td>                <td>{{ yibaoPatientInfo.RemainAmount }}</td>            </tr>            <tr>                <td class="patient-content-header">地区编号：</td>                <td>{{ yibaoPatientInfo.DistrictCode }}</td>                <td class="patient-content-header">地区名称：</td>                <td>{{ yibaoPatientInfo.DistrictName }}</td>                <td class="patient-content-header" style="width:85px;">操作员编号：</td>                <td>{{ operatorCode }}</td>                <td class="patient-content-header">操作员：</td>                <td>{{ operatorName }}</td>            </tr>        </table>    </div></div>');templateCache.put('/app/charge/dialogs/charge-approve-confirm-dialog/charge-approve-confirm-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title"> {{::title}} </h4>    </div>    <div class="modal-body ares-dialog-body">        <p>{{::description }}</p>        <ul style="padding-left: 20px;">            <li ng-repeat="itemMsg in requireApproveItemMsgs">                <p>{{ itemMsg }}</p>            </li>        </ul>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-primary ares-btn-blue" ng-click="ok()">确定</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-appt-apply-complete-code-dialog/charge-appt-apply-complete-code-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo" id="advance-payment-recharge">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{ categoryName }}核销码</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv" style="padding:20px">            <input class="form-control" style="max-width:360px" ng-model="code" placeholder="请输入网络预约核销码..." />        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <button style="margin-right:10px;" class="btn btn-primary " ng-click="done()">确认</button>            <button class="btn btn-default" ng-click="close()">关闭</button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-child-records-dialog/charge-child-records-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        .last-action-wrap {            margin: 20px 0 10px 0;            text-align: center;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">收费记录</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="child-order-records-table" class="ares-data-table"></div>        <div class="last-action-wrap">            <button class="btn btn-default" ng-click="close()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-detail-allot-dialog/charge-detail-allot-dialog-view.html','<div ares-modal-dragable id="charge-detail-allot-dialog">    <style scoped>        #charge-detail-allot-dialog .ares-data-table .k-grid-header th {            text-align: left;        }        #charge-detail-allot-dialog .charge-order-price-info {            margin-bottom: 10px;        }            #charge-detail-allot-dialog .charge-order-price-info .row-cell {                min-width: 60px;                display: inline-block;                box-sizing: border-box;                padding: 0 8px;                height: auto;            }                #charge-detail-allot-dialog .charge-order-price-info .row-cell span {                    line-height: 30px;                }        #charge-detail-allot-dialog .charge-order-price-allot-hint .bg-warning {            padding: 10px;        }        #charge-detail-allot-dialog .align-center {            text-align: center;        }        #charge-detail-allot-dialog #price-apportion-grid td {            text-align: left;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">分配项目实收</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="panel-body ">            <div class="charge-order-price-info" ng-class="!isCanAllot?\'align-center\':\'\'">                <div class="row-cell" ng-if="advancePrice > 0">                    <span>分配总额 : </span>                    <span>{{ allotActualPrice | toMoney}}</span>                </div>                <div class="row-cell" ng-if="advancePrice > 0">                    <span>预收金额 : </span>                    <span>{{ advancePrice | toMoney }}</span>                </div>                <div class="row-cell">                    <span>实收分配金额 : </span>                    <span>{{ allotPrice | toMoney }}</span>                </div>            </div>            <div id="price-apportion-grid" class="ares-data-table"></div>            <div class="charge-order-price-allot-hint">                <p class="bg-warning">                    <span class="glyphicon glyphicon-info-sign"></span>                    {{ hint }}                </p>            </div>            <div class="align-center">                <button type="button" class="btn btn-primary ares-btn-blue" ng-show="isCanAllot" ng-click="save()">保存</button>                <button type="button" class="btn btn-primary ares-btn-blue" ng-hide="isCanAllot" ng-click="close()">确定</button>                <button type="button" class="btn btn-default" ng-show="isCanAllot" ng-click="close()">取消</button>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-advance-payment-allot-dialog/charge-edit-advance-payment-allot-view.html','<div id="offices-info-dialog" ares-modal-dragable>    <style>        #offices-info-dialog .last-action-wrap {            margin: 10px 0 10px 0;            text-align: center;        }        #offices-info-dialog .offices-info-summary {            line-height: 30px;            margin: 10px;        }            #offices-info-dialog .offices-info-summary td {                font-size: 14px;                color: #27a393;                font-weight:bold;            }        #offices-info-dialog .offices-info-table {            margin: 10px;        }        #offices-info-dialog .align-center {            text-align: center;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">分配充值金</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="offices-info-summary">            <label><span>当前余额：</span><span>{{advancePaymentSummaryInfo.totalRemainAmount|toMoney}}</span></label>            <label style="margin-left:50px;"><span>本次使用金额：</span><span>{{advancePaymentSummaryInfo.actualPrice|toMoney}}</span></label>        </div>        <div class="offices-info-table">            <table style="width:100%;">                <tr style="height:35px;border-top:2px solid #00a7c6;border-bottom:1px solid #00a7c6;">                    <th width="30%">充值诊所</th>                    <th width="10%">本金余额</th>                    <th width="12%">本金金额</th>                    <th width="13%">本金用后余额</th>                    <th width="10%">赠金余额</th>                    <th width="12%">赠金金额</th>                    <th width="13%">赠金用后余额</th>                </tr>            </table>            <div style="overflow-x:auto;border-bottom:2px solid #00a7c6;height:300px;">                <table style="width:100%;font-weight:initial;">                    <tr style="height:45px;border-bottom:1px solid #e6e4e1;" ng-repeat="office in officeAdvancePaymentUsedInfoList">                        <td width="30%">{{office.officeName}}</td>                        <td width="10%">{{office.principalBalance|toMoney}}</td>                        <td width="12%">                            <input style="width:80px;" kendo-numeric-text-box k-spinners="false"                                   k-min ="0" k-max="office.principalBalance"                                   k-options="{format: \'#.##\', decimals:2}"                                   k-ng-model="office.usePrincipalPrice" k-on-change="onAllotAmountChange(office)" />                        </td>                        <td width="13%">{{office.principalBalance - office.usePrincipalPrice|toMoney}}</td>                        <td width="10%">{{office.presentBalance|toMoney}}</td>                        <td width="12%">                                                        <input style="width:80px;" kendo-numeric-text-box k-spinners="false"                                   k-min="0" k-max="office.presentBalance"                                   k-options="{format: \'#.##\', decimals:2}"                                   k-ng-model="office.usePresentPrice" k-on-change="onAllotAmountChange(office)" />                        </td>                        <td width="13%">{{office.presentBalance - office.usePresentPrice|toMoney}}</td>                    </tr>                </table>            </div>        </div>        <div class="offices-info-summary">            <table  style="width:100%;font-weight:initial;">                <tr>                    <td width="30%" style="font-size:16px; color:#5B5B56">总计</td>                    <td width="10%">{{advancePaymentSummaryInfo.totalPricinpalRemainAmount|toMoney}}</td>                    <td width="12%">{{advancePaymentSummaryInfo.totalPricinpalAllotAmount|toMoney}}</td>                    <td width="13%">{{advancePaymentSummaryInfo.totalPricinpalAmountAfterAllot|toMoney}}</td>                    <td width="10%">{{advancePaymentSummaryInfo.totalGiftRemainAmount|toMoney}}</td>                    <td width="12%">{{advancePaymentSummaryInfo.totalGiftAllotAmount|toMoney}}</td>                    <td width="13%">{{advancePaymentSummaryInfo.totalGiftAmountAfterAllot|toMoney}}</td>                </tr>            </table>                    </div>    </div>    <div class="modal-footer ares-dialog-footer align-center">        <button type="button" class="btn btn-primary ares-btn-blue" ng-click="confirm()">确定</button>        <button type="button" class="btn btn-default" ng-click="close()">关闭</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-advance-payment-recharge-dialog/charge-edit-advance-payment-recharge-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo" id="advance-payment-recharge">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">收费</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <table style="width: 100%; margin-bottom: 15px;">                                <tr>                                    <td rowspan="3" align="left">                                        <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                    </td>                                </tr>                                <tr>                                    <td>                                        病历号：{{patientAssist.privateId}}                                    </td>                                    <td>                                        初诊复诊：{{appointmentAssist.getLastOrCurAppt() | toApptType}}                                    </td>                                </tr>                                <tr>                                    <td>                                        手机：{{patientAssist.mobile}}                                    </td>                                    <td style="word-break: break-all;">                                        预约项目：{{appointmentAssist | toApptTransaction}}                                    </td>                                </tr>                            </table>                        </div>                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"                                                           free-field-assist="freeFieldAssist"></charge-order-extend-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group" ng-if="!isYibaoGatewayEnabled">                        <charge-order-last-action-info-view is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="isYibaoGatewayEnabled">                        <charge-yibao-order-last-action-info-gateway-view charge-order-price-handle="chargeOrderPriceHandle"                                                                          charge-order-event-info="sourceOrderEventInfo"                                                                          yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-yibao-order-last-action-info-gateway-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-appt-apply-complate-dialog/charge-edit-appt-apply-complate-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo" id="appt-apply-complate-charge">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">网络预约核销收费</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <table style="width: 100%; margin-bottom: 15px;">                                <tr>                                    <td rowspan="3" align="left">                                        <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                    </td>                                </tr>                                <tr>                                    <td>                                        病历号：{{patientAssist.privateId}}                                    </td>                                    <td>                                        初诊复诊：{{appointmentAssist | toApptType}}                                    </td>                                </tr>                                <tr>                                    <td>                                        手机：{{patientAssist.mobile}}                                    </td>                                    <td style="word-break: break-all;">                                        预约项目：{{appointmentAssist | toApptTransaction}}                                    </td>                                </tr>                            </table>                        </div>                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group" ng-show="sourceOrderEventInfo.orderEventOption.isShowReceivablePriceInfo()">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"                                                           yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-cancel-dialog/charge-edit-cancel-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{ cancelTitle }}</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="padding: 10px;">            <form id="apptForm" name="apptForm" class="form-horizontal" style="padding:0">                <div class="form-group" style="text-align:center">                    <label class="control-label" style="font-size:x-large">作废后将不可取消，是否继续？</label>                    <p ng-if="status == 3" style="text-align: center;font-size: 16px; color: red;margin: 0;">                        强制作废将不返回任何原单或子单使用的优惠方案和优惠金额，<br>                        患者欠费将尝试消减，如无法消减将不予处理                    </p>                </div>                <div class="panel panel-default"                     style="margin-left:10px;margin-right:10px;margin-bottom:10px;border:none;">                    <label class="order-form-item-text" style="padding:5px;"                           ng-if="isRefundReasonEnabled">作废原因<b style="color:red">*</b>:</label>                    <input id="reason" kendo-drop-down-list ng-if="isRefundReasonEnabled"                           type="text" ng-disabled="isNotCancel"                           class="form-control" style="width:200px;"                           k-data-source="reasons"                           k-filter="\'contains\'" k-option-label="\'请选择\'"                           ng-model="charge.reason" />                    <label class="order-form-item-text" style="padding:5px;" ng-if="isCancelWithActionDate">作废时间:</label>                    <input class="cancel-last-info-content cancel-info-date-time"                           id="cancel-date-time-drop-down" ng-if="isCancelWithActionDate" />                    <button class="btn btn-default" style="margin: 1px 5px;"                            ng-show="isShowAppendCancelBtn()"                            ng-click="switchIsAppendEnalbed()">                        {{isAppendCancelEnable?\'停用补录\':\'启动补录\'}}                    </button>                </div>                <div class="panel panel-default" style="margin-left:10px;margin-right:10px;margin-bottom:10px;">                    <div class="panel-heading" style="padding:5px 5px 5px 10px"><strong>备注<b style="color:red">*</b></strong></div>                    <div class="panel-body" style="padding:0px">                        <textarea class="form-control" ng-model="charge.comments"                                  ng-disabled="isNotCancel"                                  style="height:200px; max-width: 800px"></textarea>                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer" style="padding:10px;">            <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>            <button type="button" class="btn btn-primary ares-btn-blue"                    ng-disabled="isNotCancel"                    ng-click="ok()">                作废            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-check-in-dialog/charge-edit-check-in-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo" id="charge-check-in-pay">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">收费</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <table style="width: 100%; margin-bottom: 15px;">                                <tr>                                    <td rowspan="3" align="left">                                        <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                    </td>                                </tr>                                <tr>                                    <td height="45">                                        病历号：{{patientAssist.privateId}}                                    </td>                                    <td>                                        初诊复诊：{{appointmentAssist | toApptType}}                                    </td>                                </tr>                                <tr>                                    <td>                                        手机：{{patientAssist.mobile}}                                    </td>                                    <td style="word-break: break-all;">                                        预约项目：{{appointmentAssist | toApptTransaction}}                                    </td>                                </tr>                            </table>                        </div>                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"                                                           yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group" ng-if="!isYibaoGatewayEnabled">                        <charge-order-last-action-info-view is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="isYibaoGatewayEnabled">                        <charge-yibao-order-last-action-info-gateway-view charge-order-price-handle="chargeOrderPriceHandle"                                                                          charge-order-event-info="sourceOrderEventInfo"                                                                          yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-yibao-order-last-action-info-gateway-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-child-order-dialog/charge-edit-child-order-view.html','<!--子单编辑--><div ares-modal-dragable ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{ ::dialogTitle }}详情</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <div class="charge-order-handle-wrap">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body" style="padding-bottom: 0;">                        <div>                            <div class="charge-order-action-group" style="margin-bottom: 15px;">                                <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                                charge-order-event-info="sourceOrderEventInfo"                                                                membership-assist="membershipAssist"                                                                patient-assist="patientAssist"></charge-order-payment-info-view>                            </div>                            <div class="charge-order-action-group" style="margin-bottom: 15px;">                                <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               appointment-assist="appointmentAssist"                                                               invoice-assist="invoiceAssist"                                                               patient-assist="patientAssist"></charge-order-extend-info-view>                            </div>                            <div class="charge-order-action-group">                                <charge-workflow-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"></charge-workflow-info-view>                            </div>                        </div>                    </div>                </div>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view is-show-print-setup="false"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                </div>            </div>        </div>        <notification-upload-success></notification-upload-success>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-detail-performance-dialog/charge-edit-detail-performance-view.html','<div ares-modal-dragable>    <style>        .last-action-wrap {            margin: 10px 0 10px 0;            text-align: center;        }        #child-order-records-table{            margin: 10px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">绩效分配至{{performanceObject}}</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="child-order-records-table" class="ares-data-table"></div>        <div class="last-action-wrap">            <button class="btn btn-primary ares-btn-blue" ng-click="confirm()">                确定            </button>            <button class="btn btn-default" ng-click="close()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-fast-order-dialog/charge-edit-fast-order-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{ getTitle() }}</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <table style="width: 100%; margin-bottom: 15px;">                                <tr>                                    <td rowspan="3" align="left">                                        <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                    </td>                                </tr>                                <tr>                                    <td>                                        病历号：{{patientAssist.privateId}}                                    </td>                                    <td>                                        初诊复诊：{{appointmentAssist | toApptType}}                                    </td>                                </tr>                                <tr>                                    <td>                                        手机：{{patientAssist.mobile}}                                    </td>                                    <td style="word-break: break-all;">                                        预约项目：{{appointmentAssist | toApptTransaction}}                                    </td>                                </tr>                            </table>                        </div>                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group" ng-hide="chargeOrderPriceHandle.isBilled() || sourceOrderEventInfo.orderEventOption.isProfessional()">                            <charge-order-gift-certificate-action-view charge-order-price-handle="chargeOrderPriceHandle"                                                                       charge-order-event-info="sourceOrderEventInfo"                                                                       membership-assist="membershipAssist"                                                                       patient-assist="patientAssist"></charge-order-gift-certificate-action-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           free-field-assist="freeFieldAssist"                                                           membership-assist="membershipAssist"                                                           invoice-assist="invoiceAssist"                                                           yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group" ng-if="!isShangbaoOrder && !isYibaoOrder">                        <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="isYibaoOrder">                        <charge-yibao-order-last-action-info-gateway-view charge-order-price-handle="chargeOrderPriceHandle"                                                                          charge-order-event-info="sourceOrderEventInfo"                                                                          yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-yibao-order-last-action-info-gateway-view>                    </div>                    <div class="charge-order-action-group" ng-if="isShangbaoOrder">                        <charge-new-shangbao-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                                         charge-order-event-info="sourceOrderEventInfo"                                                                         yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-new-shangbao-order-last-action-info-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-fast-overdue-order-dialog/charge-edit-fast-overdue-order-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">收欠费</h4>    </div>    <div class="modal-body ares-dialog-body">        <charge-edit-batch-overdue-order-view patient-id="patientId"                                              batch-overdue-order-id="batchOverdueOrderId"                                              close-event-method="close"></charge-edit-batch-overdue-order-view>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-gift-certificate-sell-dialog/charge-edit-gift-certificate-sell-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">卡券售卖收费</h4>    </div>    <div class="modal-body ares-dialog-body" id="mainDiv">        <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <table style="width: 100%; margin-bottom: 20px;">                            <tr>                                <td rowspan="3" align="left">                                    <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                </td>                            </tr>                            <tr>                                <td height="45">                                    病历号：{{patientAssist.privateId}}                                </td>                                <td>                                    初诊复诊：{{appointmentAssist.getLastOrCurAppt() | toApptType}}                                </td>                            </tr>                            <tr>                                <td>                                    手机：{{patientAssist.mobile}}                                </td>                                <td style="word-break: break-all;">                                    预约项目：{{appointmentAssist | toApptTransaction}}                                </td>                            </tr>                        </table>                    </div>                    <div class="charge-order-action-group">                        <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"></charge-order-receivable-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"                                                        membership-assist="membershipAssist"                                                        patient-assist="patientAssist"></charge-order-payment-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       appointment-assist="appointmentAssist"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"                                                       yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="!isYibaoGatewayEnabled">                        <charge-order-last-action-info-view is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="isYibaoGatewayEnabled">                        <charge-Yibao-Order-Last-Action-Info-Gateway-View charge-order-price-handle="chargeOrderPriceHandle"                                                                          charge-order-event-info="sourceOrderEventInfo"                                                                          yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-Yibao-Order-Last-Action-Info-Gateway-View>                    </div>                </div>            </div>            <notification-upload-success></notification-upload-success>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-groupbuy-certificate-dialog/charge-edit-groupbuy-certificate-view.html','<div ares-modal-dragable ares-clean-kendo id="groupbuy-certificate-edit">    <style>        #groupbuy-certificate-edit p {            margin: 0;        }        #groupbuy-certificate-edit tr td {            padding-bottom: 10px;        }        #groupbuy-certificate-edit .input-title {            display: inline-block;            font-size: 15px;            width: 80px;            height: 34px;            line-height: 34px;            margin: 0;            padding: 0;            text-align: justify;            text-align-last: justify;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">团购核销</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <table>            <tr>                <td><label class="input-title">团购渠道</label>：</td>                <td>                    <base-combo-box-view class=""                                         style=""                                         bind-value-field="shopInfo.channelType"                                         value-field="value"                                         text-field="name"                                         bind-data-source="editInfo.channelTypeInfos"                                         combo-box-option="comboBoxOption"></base-combo-box-view>                </td>                <td></td>            </tr>            <tr>                <td><label class="input-title">券 号</label>：</td>                <td>                    <input type="text" class="form-control"                           placeholder="请输入团购券码"                           ng-model="shopInfo.certificateCode"                           ng-disabled="usedCertificateInfo.isUsed" />                </td>                <td style="padding-left:10px">                    <button type="button" class="lc-btn lc-btn-primary"                            ng-click="verify()" ng-if="!usedCertificateInfo.isUsed">                        验证                    </button>                    <a class="lc-btn lc-lg-icon-btn lc-btn-primary"                       ng-click="barcodeVerify()"                       ng-if="!usedCertificateInfo.isUsed">                        <span class="iconfont icon-erweima"></span>                    </a>                </td>            </tr>            <tr ng-if="certificateInfo">                <td></td>                <td colspan="2">                    <p>（{{ certificateInfo.dealMarketPrice }} 元） {{ certificateInfo.dealTitle }}</p>                    <p>可用数量： {{ certificateInfo.count}} 张</p>                </td>            </tr>            <tr>                <td><label class="input-title">使用数量</label>：</td>                <td>                    <base-number-box-view class=""                                          style="width:60px;"                                          default-format="#0"                                          bind-value-field="shopInfo.useCount"                                          number-box-option="numberBoxOption"></base-number-box-view>                    <span> 张</span>                </td>            </tr>        </table>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="lc-btn lc-btn-primary"                ng-if="!usedCertificateInfo" ng-click="using()">            使用        </button>        <button type="button" class="lc-btn lc-btn-primary"                ng-if="usedCertificateInfo" ng-click="cleanUsing()">            取消使用        </button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-history-order-dialog/charge-edit-history-order-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo">    <style>        .charge-edit-history-order-dialog-view-backdrop, .charge-edit-history-order-dialog-view-wrapper {            z-index: 350 !important;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">账单编辑</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           membership-assist="membershipAssist"                                                           free-field-assist="freeFieldAssist"                                                           invoice-assist="invoiceAssist"                                                           patient-assist="patientAssist"></charge-order-extend-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-workflow-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"></charge-workflow-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            is-contain-yibao-print-data="isContainYibaoPrintData"                                                            is-contain-yibao-check-in-print-data="isContainYibaoCheckInPrintData"></charge-order-last-action-info-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-overdue-order-dialog/charge-edit-overdue-order-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="lastActionInfo.close.event()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title"> 收欠费</h4>    </div>    <div class="modal-body ares-dialog-body" id="mainDiv">        <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group" style="margin-bottom: 15px;">                        <div class="charge-order-statistics-info receivable-block">                            <div class="pull-left">                                <label class="item-title">欠费折扣：</label>                                <base-number-box-view class="charge-order-discount item-content"                                                      bind-value-field="repayOrderPriceHandle.overdueDiscount"                                                      number-box-option="::repayOrderDiscountBoxOption"                                                      on-change="repayOrderEventInfo.orderEvent.onChangeOverdueDiscount(newValue)"></base-number-box-view>                                <label>%</label>                            </div>                            <div class="pull-right charge-overdue-label">                                <label class="item-title">欠费：</label>                                <base-number-box-view class="charge-order-after-discount-plan-price item-content"                                                      bind-value-field="repayOrderPriceHandle.fullAfterDiscountPlanPrice"                                                      number-box-option="::repayOrderOverdueBoxOption"                                                      on-change="repayOrderEventInfo.orderEvent.onChangeFullAfterDiscountPlanPrice(newValue)"></base-number-box-view>                            </div>                            <div class="clear"></div>                        </div>                    </div>                    <div class="charge-order-action-group">                        <charge-order-payment-info-view charge-order-price-handle="repayOrderPriceHandle"                                                        charge-order-event-info="repayOrderEventInfo"                                                        membership-assist="membershipAssist"                                                        patient-assist="patientAssist"></charge-order-payment-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-extend-info-view charge-order-price-handle="repayOrderPriceHandle"                                                       charge-order-event-info="repayOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"></charge-order-extend-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view is-show-save="false" is-show-print-setup="false"                                                            charge-order-price-handle="repayOrderPriceHandle"                                                            charge-order-event-info="repayOrderEventInfo"></charge-order-last-action-info-view>                    </div>                </div>            </div>            <notification-upload-success></notification-upload-success>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-payment-order-dialog/charge-edit-payment-order-view.html','<!--支付记录编辑页面--><div ares-modal-dragable ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">支付记录</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body" style="padding-bottom: 0;">                        <div class="generate-order-list-wrap" style="margin-bottom: 15px;">                            <div id="generate-orders-gird" class="ares-data-table"></div>                        </div>                        <div>                            <div class="charge-order-action-group" style="margin-bottom: 15px;">                                <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                                charge-order-event-info="sourceOrderEventInfo"                                                                membership-assist="membershipAssist"                                                                patient-assist="patientAssist"></charge-order-payment-info-view>                            </div>                            <div class="charge-order-action-group" style="margin-bottom: 15px;">                                <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               appointment-assist="appointmentAssist"                                                               patient-assist="patientAssist"></charge-order-extend-info-view>                            </div>                            <div class="charge-order-action-group">                                <charge-workflow-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"></charge-workflow-info-view>                            </div>                        </div>                    </div>                </div>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view is-show-print-setup="false"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                </div>            </div>            <notification-upload-success></notification-upload-success>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-refund-order-dialog/charge-browse-refund-order-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="charge-refund-edit-wrap">    <style scoped>        .charge-refund-edit-wrap #refund-type-control-switch {            margin-bottom: 10px;        }            .charge-refund-edit-wrap #refund-type-control-switch input[type=radio] {                height: 16px;                width: 16px;                margin: 0;                vertical-align: middle;            }            .charge-refund-edit-wrap #refund-type-control-switch label {                vertical-align: middle;                margin: 0;            }            .charge-refund-edit-wrap #refund-type-control-switch button[disabled] {                background-color: #eee;                color: #333;            }            .charge-refund-edit-wrap #refund-type-control-switch button.in-handle {                color: #333;                background-color: #e6e6e6;                border-color: #adadad;                box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);                filter: alpha(opacity=100);                opacity: 1;            }        .charge-refund-edit-wrap .refund-order-price-info {            height: 54px;            padding: 10px;        }        .charge-refund-edit-wrap #detail-price-table td {            text-align: center;        }        .charge-refund-edit-wrap .refund-order-price-info .charge-refund-detail-allot {            display: inline-block;            width: 34px;            height: 34px;            vertical-align: middle;            padding: 7px;        }        .charge-refund-edit-wrap .refund-status {            width: 50px;            border-radius: 4px;            color: #fff;            text-align: center;            background-color: #9397a2;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .executed-status {            width: 50px;            border-radius: 4px;            color: #fff;            text-align: center;            background-color: #80D424;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .executed-part-status {            min-width: 50px;            border-radius: 4px;            padding: 0 4px;            color: #fff;            text-align: center;            background-color: #F7A51D;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .refund-order-yibao-price-info {            height: 50px;            font-size: 20px;            font-weight: bold;            padding-top: 15px;            text-align: right;        }            .charge-refund-edit-wrap .refund-order-yibao-price-info .price-area {                display: inline-block;                border-radius: 5px;                padding: 5px 10px;            }                .charge-refund-edit-wrap .refund-order-yibao-price-info .price-area.with-background {                    background-color: #e2e2e2;                }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close">            <span aria-hidden="true">&times;</span>        </button>        <h4 class="modal-title">退费</h4>    </div>    <div class="modal-body ares-dialog-body charge-order-handle-wrap">        <div class="panel-body charge-order-handle">            <div class="charge-order-body">                <div class="charge-order-action-group">                    <table style="width: 100%; margin-bottom: 20px;">                        <tr>                            <td rowspan="2" align="left">                                <ares-patient-namecard patient="patient"></ares-patient-namecard>                            </td>                            <td width="180">                                病历号：{{patient.privateId}}                            </td>                            <td width="200">                                手机：{{patient.mobile}}                            </td>                        </tr>                    </table>                </div>                <div id="refund-type-control-switch" class="text-center" ng-hide="isYibaoChargeOrder && !isYibaoGatewayEnabled">                    <div class="btn-group" ng-show="!hasRefundableDetail">                        <button class="btn btn-default " ng-model="refundType"                                ng-click="switchRefundType(feeSubType.RefundOrder)"                                ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundPrice"                                ng-class="refundType==feeSubType.RefundOrder?\'in-handle\':\'\'">                            退整单                        </button>                        <button class="btn btn-default " ng-model="refundType" ng-hide="currentReimburseOrder.advacePrice > 0"                                ng-click="switchRefundType(feeSubType.RefundItem)"                                ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundPrice"                                ng-class="refundType==feeSubType.RefundItem?\'in-handle\':\'\'">                            退项目                        </button>                        <button class="btn btn-default " ng-model="refundType" ng-hide="currentReimburseOrder.advacePrice > 0"                                ng-click="switchRefundType(feeSubType.RefundPrice)"                                ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundItem"                                ng-class="refundType==feeSubType.RefundPrice?\'in-handle\':\'\'">                            退金额                        </button>                    </div>                    <div class="btn-group" ng-show="hasRefundableDetail">                        <button class="btn btn-default " ng-model="refundType"                                ng-click="switchRefundType(feeSubType.RefundYibao)"                                ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundItem"                                ng-class="refundType==feeSubType.RefundPrice?\'in-handle\':\'\'">                            退医保                        </button>                    </div>                </div>                <div class="charge-order-action-group">                    <div class="charge-order-receivable-wrap">                        <div id="detail-table-wrap">                            <div id="detail-order-table" ng-show="refundType==feeSubType.RefundOrder"                                 class="ares-data-table"></div>                            <div id="detail-items-table" ng-show="refundType==feeSubType.RefundItem"                                 class="ares-data-table"></div>                            <div id="detail-price-table" ng-show="refundType==feeSubType.RefundPrice"                                 class="ares-data-table"></div>                            <div id="detail-yibao-table" ng-show="refundType==feeSubType.RefundYibao"                                 class="ares-data-table"></div>                        </div>                        <div class="refund-order-yibao-price-info" ng-show="isYibaoChargeOrder && !isYibaoGatewayEnabled">                            <label>应退金额：{{getActualRefundPrice() | toMoney}} = </label>                            <label class="price-area with-background">本单实收：{{getRefundActualGet() | toMoney}}</label>                            <label> - </label>                            <label class="price-area with-background">医保退费：{{getYibaoRefundActualGet() | toMoney}}</label>                        </div>                        <div class="refund-order-price-info receivable-block">                            <div class="pull-left">                                <label class="item-title">退费方式：</label>                                <label id="remTypeInfo" class="item-title">{{strPayTypeInfo}}</label>                            </div>                            <div class="pull-right">                                <label class="item-title" style="font-weight:400;"                                       ng-if="getAdavnceRefundPrice()">退预收金额：</label>                                <label class="item-text-content" style="font-weight:400;"                                       ng-if="getAdavnceRefundPrice()">                                    {{ getAdavnceRefundPrice() | toMoney }}                                </label>                                <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>                                <label class="item-title">实退金额：</label>                                <label class="item-text-content">                                    {{ getActualRefundPrice() | toMoney }}                                </label>                            </div>                        </div>                    </div>                </div>                <div class="charge-order-action-group">                    <div class="charge-order-extend-wrap">                        <div class="order-form-row">                            <div class="order-form-item">                                <label class="order-form-item-text">退费时间<b class="require">*</b>:</label>                                <input class="order-form-item-content" id="refund-time" />                            </div>                        </div>                        <div class="order-form-row">                            <div class="order-form-item">                                <label class="order-form-item-text">退费人<b class="require">*</b>:</label>                                <input id="reimburse" type="text" class="order-form-item-content payee-combo-box">                            </div>                            <div class="order-form-item" ng-if="isRefundReasonEnabled">                                <label class="order-form-item-text">退费原因<b class="require">*</b>:</label>                                <input id="reason" kendo-drop-down-list                                       type="text"                                       class="form-control"                                       ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill"                                       k-data-source="reasons"                                       k-filter="\'contains\'" k-option-label="\'请选择\'"                                       ng-model="currentReimburseOrder.reason" />                            </div>                        </div>                        <div class="order-form-row">                            <div class="order-form-item">                                <label class="order-form-item-text">备注<b class="require">*</b>:</label>                                <textarea class="order-form-item-content comment-textarea form-control"                                          ng-model="currentReimburseOrder.comments"                                          ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill"></textarea>                            </div>                        </div>                    </div>                </div>                <div class="charge-order-action-group">                    <div class="charge-order-action-info-wrap">                        <button class="btn btn-default ares-btn-blue"                                ng-click="save()"                                ng-hide="currentReimburseOrder.status==\'退费\' || isOnlyBrowse">                            确定                        </button>                        <button class="btn btn-default" ng-click="cancel()">关闭</button>                    </div>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/dialogs/charge-edit-refund-order-dialog/charge-edit-refund-order-dialog-bak-view.html','<div ares-clean-kendo class="charge-refund-edit-wrap">    <style scoped>        .modal.slide-modal .modal-dialog {            width: 840px;            left: calc(100% - 840px);            transition: left 0.3s,width 0.3s,transform 0.3s;        }        .charge-refund-edit-wrap #refund-type-control-switch {            height: 32px;            margin: 10px;            text-align: left;        }            .charge-refund-edit-wrap #refund-type-control-switch input[type=radio] {                height: 16px;                width: 16px;                margin: 0;                vertical-align: middle;            }            .charge-refund-edit-wrap #refund-type-control-switch label {                vertical-align: middle;                margin: 0;            }            .charge-refund-edit-wrap #refund-type-control-switch button[disabled] {                background-color: #eee;                color: #333;            }            .charge-refund-edit-wrap #refund-type-control-switch button.in-handle {                color: #333;                background-color: #e6e6e6;                border-color: #adadad;                box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);                filter: alpha(opacity=100);                opacity: 1;            }        .charge-refund-edit-wrap .refund-order-price-info {            height: 54px;            padding: 10px;        }        .charge-refund-edit-wrap #detail-price-table td {            text-align: center;        }        .charge-refund-edit-wrap .refund-order-price-info .charge-refund-detail-allot {            display: inline-block;            width: 34px;            height: 34px;            vertical-align: middle;            padding: 7px;        }        .charge-refund-edit-wrap .refund-status {            width: 50px;            border-radius: 4px;            color: #fff;            text-align: center;            background-color: #9397a2;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .executed-status {            width: 50px;            border-radius: 4px;            color: #fff;            text-align: center;            background-color: #80D424;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .executed-part-status {            min-width: 50px;            border-radius: 4px;            padding: 0 4px;            color: #fff;            text-align: center;            background-color: #F7A51D;            margin-left: 3px;            font-size: 12px;            display: inline-block;        }        .charge-refund-edit-wrap .refund-order-yibao-price-info {            height: 50px;            font-size: 20px;            font-weight: bold;            padding-top: 15px;            text-align: right;        }            .charge-refund-edit-wrap .refund-order-yibao-price-info .price-area {                display: inline-block;                border-radius: 5px;                padding: 5px 10px;            }                .charge-refund-edit-wrap .refund-order-yibao-price-info .price-area.with-background {                    background-color: #e2e2e2;                }    </style>    <div class="charge-order-handle" style="margin-top:10px">        <div class="charge-order-body">            <div id="refund-type-control-switch" ng-hide="isYibaoChargeOrder && !isYibaoGatewayEnabled">                <div class="lc-btn-group" ng-show="!hasRefundableDetail">                    <button class="lc-btn lc-btn-default " ng-model="refundType"                            ng-click="switchRefundType(feeSubType.RefundOrder)"                            ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundPrice"                            ng-class="refundType==feeSubType.RefundOrder?\'in-handle\':\'\'">                        退整单                    </button>                    <button class="lc-btn lc-btn-default " ng-model="refundType"                            ng-click="switchRefundType(feeSubType.RefundItem)"                            ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundPrice || hasDeductionRepayDiscountPrice"                            ng-class="refundType==feeSubType.RefundItem?\'in-handle\':\'\'">                        退项目                    </button>                    <button class="lc-btn lc-btn-default " ng-model="refundType"                            ng-click="switchRefundType(feeSubType.RefundPrice)"                            ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundItem"                            ng-class="refundType==feeSubType.RefundPrice?\'in-handle\':\'\'">                        退金额                    </button>                </div>                <div class="lc-btn-group" ng-show="hasRefundableDetail">                    <button class="lc-btn lc-btn-default " ng-model="refundType"                            ng-click="switchRefundType(feeSubType.RefundYibao)"                            ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill || hasRefundItem"                            ng-class="refundType==feeSubType.RefundPrice?\'in-handle\':\'\'">                        退医保                    </button>                </div>            </div>            <div class="charge-order-action-group">                <div class="charge-order-receivable-wrap">                    <div id="detail-table-wrap">                        <div id="detail-order-table" ng-show="refundType==feeSubType.RefundOrder"                             class="ares-data-table"></div>                        <div id="detail-items-table" ng-show="refundType==feeSubType.RefundItem"                             class="ares-data-table"></div>                        <div id="detail-price-table" ng-show="refundType==feeSubType.RefundPrice"                             class="ares-data-table"></div>                        <div id="detail-yibao-table" ng-show="refundType==feeSubType.RefundYibao"                             class="ares-data-table"></div>                    </div>                    <div class="refund-order-yibao-price-info" ng-show="isYibaoChargeOrder && !isYibaoGatewayEnabled">                        <label>应退金额：{{getActualRefundPrice() | toMoney}} = </label>                        <label class="price-area with-background">本单实收：{{getRefundActualGet() | toMoney}}</label>                        <label> - </label>                        <label class="price-area with-background">医保退费：{{getYibaoRefundActualGet() | toMoney}}</label>                    </div>                    <div class="refund-order-price-info receivable-block">                        <div class="pull-left" ng-hide="params.refundType==feeSubType.RefundOrder || params.refundType==feeSubType.RefundYibao">                            <label class="item-title">退费方式：</label>                            <input id="remType"                                   class="item-content" type="text"                                   style="width:240px;">                        </div>                        <div class="pull-left" ng-hide="params.refundType!=feeSubType.RefundOrder&&params.refundType!=feeSubType.RefundYibao">                            <label class="item-title">退费方式：</label>                            <label id="remTypeInfo" class="item-title">{{strPayTypeInfo}}</label>                        </div>                        <div class="pull-right" ng-hide="isYibaoChargeOrder&&refundType!=feeSubType.RefundYibao&&getActualRefundPrice()==0">                            <label class="item-title">实退金额：</label>                            <label class="item-text-content"                                   ng-show="refundType==feeSubType.RefundItem || refundType==feeSubType.RefundOrder || refundType==feeSubType.RefundYibao">                                {{ getActualRefundPrice() | toMoney }}                            </label>                            <base-number-box-view ng-show="refundType==feeSubType.RefundPrice"                                                  class="item-content"                                                  style="width:120px;margin-left:10px"                                                  custom-id="refund-price"                                                  bind-value-field="refundPrice"                                                  number-box-option="priceBoxOption"                                                  kendo-action-obj="refundPriceKendoNumericTextBox"></base-number-box-view>                            <div class="charge-refund-detail-allot"                                 ng-show="isAllowAllotChargeDetail&&refundType==feeSubType.RefundPrice">                                <a class="icon-btn icon-distribution" title="分配项目退费金额"                                   data-toggle="tooltip" data-placement="top"                                   ng-hide="isOnlyBrowse || isOnlyBill"                                   ng-click="openCustomAllotRefundPriceDialog()">                                </a>                            </div>                        </div>                    </div>                </div>            </div>            <div class="charge-order-action-group">                <div class="charge-order-extend-wrap">                    <div class="order-form-row">                        <div class="order-form-item">                            <label class="order-form-item-text">退费时间<b class="require">*</b>:</label>                            <input class="order-form-item-content" id="refund-time" />                        </div>                    </div>                    <div class="order-form-row">                        <div class="order-form-item">                            <label class="order-form-item-text">退费人<b class="require">*</b>:</label>                            <input id="reimburse" type="text" class="order-form-item-content payee-combo-box">                        </div>                        <div class="order-form-item" ng-show="isRefundReasonEnabled">                            <label class="order-form-item-text">退费原因<b class="require">*</b>:</label>                            <input id="reason" kendo-drop-down-list                                   type="text" class="form-control"                                   ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill"                                   k-data-source="reasons"                                   k-filter="\'contains\'" k-option-label="\'请选择\'"                                   ng-model="currentReimburseOrder.reason" />                        </div>                    </div>                    <div class="order-form-row">                        <div class="order-form-item">                            <label class="order-form-item-text">备注<b class="require">*</b>:</label>                            <textarea class="order-form-item-content comment-textarea form-control"                                      ng-model="currentReimburseOrder.comments"                                      ng-disabled="currentReimburseOrder.status==\'退费\' || isOnlyBrowse || isOnlyBill"></textarea>                        </div>                    </div>                </div>            </div>            <div class="charge-order-action-group">                <div class="charge-order-action-info-wrap" style="text-align: center;margin-top: 10px;">                    <button class="btn btn-default ares-btn-blue"                            ng-click="save()"                            ng-hide="currentReimburseOrder.status==\'退费\' || isOnlyBrowse">                        确定                    </button>                    <button class="btn btn-default" ng-click="cancel()">关闭</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-refund-order-dialog/charge-edit-refund-order-dialog-view.html','<div ares-clean-kendo class="charge-refund-edit-wrap">    <style scoped>        .modal.slide-modal .modal-dialog {            width: 840px;            left: calc(100% - 840px);            transition: left 0.3s,width 0.3s,transform 0.3s;        }        .charge-refund-edit-wrap {            height: 100%;        }            .charge-refund-edit-wrap #refund-type-control-switch {                height: 52px;                padding: 10px;                text-align: left;                background: #e0faff;            }                .charge-refund-edit-wrap #refund-type-control-switch button {                    vertical-align: middle;                    background: #ffffff;                    border: 1px solid #d6d9df;                    cursor: pointer;                }                    .charge-refund-edit-wrap #refund-type-control-switch button:hover {                        border: 1px solid #00a6c9;                    }                    .charge-refund-edit-wrap #refund-type-control-switch button[disabled] {                        background-color: #eee;                        color: #333;                    }                    .charge-refund-edit-wrap #refund-type-control-switch button.in-handle {                        color: #ffffff;                        background: #00a6c9;                        border: 1px solid #d6d9df;                        box-shadow: inset 0 3px 4px 0 rgba(0,0,0,0.10);                    }            .charge-refund-edit-wrap .refund-order-detail-info {                height: calc(100% - 52px);            }                .charge-refund-edit-wrap .refund-order-detail-info .refund-order-detail-wrap {                    height: calc(100% - 180px);                }                .charge-refund-edit-wrap .refund-order-detail-info .refund-order-extend-wrap {                    height: 168px;                }    </style>    <div id="refund-type-control-switch">        <div class="lc-btn-group" ng-hide="isRefundIntegrationPayment()">            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-click="detailEvent.onChangeRefundType(feeSubType.RefundOrder)"                    ng-if="detailEventOption.allowRefundFullOrder()"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundOrder?\'in-handle\':\'\'">                退整单            </button>            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-click="detailEvent.onChangeRefundType(feeSubType.RefundItem)"                    ng-if="detailEventOption.allowRefundItem()"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundItem?\'in-handle\':\'\'">                退项目            </button>            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-click="detailEvent.onChangeRefundType(feeSubType.RefundPrice)"                    ng-if="detailEventOption.allowRefundPrice()"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundPrice?\'in-handle\':\'\'">                退金额            </button>            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-click="detailEvent.onChangeRefundType(feeSubType.RefundStep)"                    ng-if="detailEventOption.allowRefundStep()"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundStep?\'in-handle\':\'\'">                退步骤            </button>        </div>        <div class="lc-btn-group" ng-show="isRefundIntegrationPayment()">            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-disabled="true"                    ng-show="refundOrderEventInfo.yibaoRefundOfGatewayUtil"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundYibao?\'in-handle\':\'\'">                退医保            </button>            <button class="lc-btn lc-btn-default " ng-model="refundOrderEventInfo.refundType"                    ng-disabled="true"                    ng-show="refundOrderEventInfo.refundType == feeSubType.RefundPosDeal"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundPosDeal?\'in-handle\':\'\'">                退一体支付            </button>            <button class="lc-btn lc-btn-default "                    ng-disabled="true"                    ng-show="refundOrderEventInfo.refundType == feeSubType.RefundOrder"                    ng-class="refundOrderEventInfo.refundType==feeSubType.RefundPosDeal?\'in-handle\':\'\'">                退健康山西            </button>        </div>    </div>    <div class="refund-order-detail-info">        <div class="refund-order-detail-wrap">            <charge-refund-detail-step-list-view ng-show="refundOrderEventInfo.refundType==feeSubType.RefundStep"                                                 refund-order-event-info="refundOrderEventInfo"></charge-refund-detail-step-list-view>            <charge-refund-detail-table-view ng-show="refundOrderEventInfo.refundType!=feeSubType.RefundStep"                                             refund-order-event-info="refundOrderEventInfo"></charge-refund-detail-table-view>        </div>        <div class="refund-order-extend-wrap">            <charge-refund-extend-info-view refund-order-event-info="refundOrderEventInfo"                                            pos-deal-pay-Info="posDealPayInfo"                                            is-afresh-workflow="isAfreshWorkflow"                                            invoice-assist="invoiceAssist"></charge-refund-extend-info-view>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-edit-repeat-gift-certificate-combo-select/charge-edit-repeat-gift-certificate-combo-select-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"></button>        <h4 class="modal-title">选择套餐券</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="form-group">            <label>{{repeatItemInfo}}</label>        </div>        <div class="form-group" style="margin:15px 0px;">            <label class="col-sm-5" style="margin-top: -15px;">                <input type="radio" name="dateType" ng-value="oldGiftCertificate"                       ng-model="selectedCertificate" value="0"                       class="radioChargeItemType">{{oldGiftCertificate.certificateName}}            </label>            <label class="col-sm-5" style="margin-top: -15px;">                <input type="radio" name="dateType" ng-value="newGiftCertificate"                       ng-model="selectedCertificate" value="1"                       class="radioChargeItemType">{{newGiftCertificate.certificateName}}            </label>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button class="lc-btn lc-btn-primary" ng-click="ok()" ares-hide-when-parent="ChargeItem">确定</button>        <button class="lc-btn lc-btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-executing-step-dialog/charge-executing-step-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="step-execution-modal detail-modal-wrap">    <style>        .step-execution-modal {            background: #ffffff;            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);            height: auto;        }            .step-execution-modal label.text-font {                font-weight: 400;            }            .step-execution-modal label[class^=\'step-item\'] {                display: inline-block;                vertical-align: middle;            }            .step-execution-modal .step-item-description-group {                font-size: 0;                background: #00a6c9;                height: 32px;                padding: 6px 15px;                margin: 0 0 20px 0;            }                .step-execution-modal .step-item-description-group label[class^=\'step-item\'] {                    font-size: 14px;                    color: #ffffff;                    letter-spacing: 0;                    text-align: left;                    width: auto;                    line-height: 20px;                    max-width: 100px;                    white-space: nowrap;                    text-overflow: ellipsis;                    overflow: hidden;                }                .step-execution-modal .step-item-description-group label.step-item.text-font {                    margin: 0;                }                .step-execution-modal .step-item-description-group label.step-item-split-line {                    display: inline-block;                    vertical-align: middle;                    width: 1px;                    height: 14px;                    background-color: #fff;                    margin: 0 10px 0 0;                }            .step-execution-modal .step-execute-form-group {                padding: 0 15px;            }                .step-execution-modal .step-execute-form-group .step-execute-form-row {                    margin: 0 0 15px 0;                }            .step-execution-modal label[class^=\'step-item\'] .text-font {                font-size: 14px;                color: #575d6a;                letter-spacing: 0;                line-height: 14px;            }            .step-execution-modal .text-font {                display: inline-block;                vertical-align: middle;                width: 80px;                text-align: right;                font-size: 14px;                color: #575d6a;                letter-spacing: 0;                line-height: 14px;                margin: 0 10px 0 0;            }            .step-execution-modal.detail-modal-wrap .ares-dialog-header {                height: 50px;            }                .step-execution-modal.detail-modal-wrap .ares-dialog-header::before {                    content: none;                    border: none;                }                .step-execution-modal.detail-modal-wrap .ares-dialog-header .modal-title {                    text-indent: 15px;                }                    .step-execution-modal.detail-modal-wrap .ares-dialog-header .modal-title::before {                        content: none;                        border: none;                    }            .step-execution-modal .ares-dialog-body {                padding: 0;            }            .step-execution-modal .ares-dialog-footer {                padding: 10px 0;                background-color: #f5f6f8;                height: auto;            }            .step-execution-modal .k-multiselect {                display: inline-block;                vertical-align: middle;                height: 29px;            }            .step-execution-modal .execution-patient-info {                padding-left: 10px;                padding-bottom: 8px;            }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"></button>        <h4 class="modal-title title-main">{{::executeDescription }}执行划扣</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="execution-patient-info row" ng-if="patientInfo">            <div class="col-sm-6">                <ares-patient-namecard patient="patientInfo"></ares-patient-namecard>            </div>            <div class="col-sm-6">                <span>病历号：{{patientInfo.privateId}}</span>            </div>        </div>        <div class="step-item-description-group">            <label class="step-item text-font">步骤：</label>            <label class="step-item-value text-font" title="{{stepName}}">{{stepName}}</label>            <label class="step-item-split-line"></label>            <label class="step-item text-font">比例：</label>            <label class="step-item-value text-font" style="margin-right:0; ">{{originStepRatio}}%</label>            <label class="step-item-value text-font"> ( ¥{{stepPriceStr}} )</label>            <label class="step-item-split-line"></label>            <label class="step-item text-font">多次划扣：</label>            <label class="step-item-value text-font">{{isRepeatable ? \'是\' : \'否\'}}</label>        </div>        <div class="step-execute-form-group">            <div class="step-execute-form-row" ng-show="isBatchExecute">                <label class="step-item text-font">数量/牙位</label>                <ares-multi-select id="select-execution-step"                                   data-placeholder="请选择{{ selectStepTitle }}" tag="{{ selectStepTitle }}"                                   ng-model="batchExecuteStepIds"                                   ng-model-context="batchExecuteSteps"                                   text-field="itemName" value-field="executionStepId"                                   multi-source="canExecutionBatchSteps"                                   select-height="230"                                   search-choice="" soure-url=""                                   style="width: 220px;display: inline-block;"></ares-multi-select>            </div>            <div class="step-execute-form-row" ng-show="allowManHour">                <label class="step-item text-font">所耗工时</label>                <input class="text-font" ng-model="manHourCount"                       ng-disabled="referenceSnapshot.length"                       style="width:80px; height:32px;border:1px solid #e3e3e3;padding:0 5px;" />                <label class="step-item text-font" style="width: auto;">分钟</label>            </div>            <div class="step-execute-form-row">                <label class="text-font row-title">医生</label>                <input id="dropDownListDoctor" style="width: 220px;" ng-disabled="isBrowse" />            </div>            <div class="step-execute-form-row">                <label class="text-font row-title">护士</label>                <input id="dropDownListNurse" style="width: 220px;" ng-disabled="isBrowse" />            </div>            <div class="step-execute-form-row">                <label class="text-font row-title">其他人员</label>                <input id="extraProvider" style="width: 220px;" ng-disabled="isBrowse" />            </div>            <div class="step-execute-form-row" ng-show="isAllowEditDeductionExecuteTime">                <label class="text-font row-title">执行时间</label>                <input id="deduction-execute-time" style="width:  220px;"                       kendo-date-time-picker                       k-options="executeTimePickerOptions"                       ng-model="executeTime"                       ng-disabled="isBrowse" />            </div>            <div class="step-execute-form-row">                <label class="text-font row-title" style="vertical-align: top;line-height: 34px;">备注</label>                <textarea class="form-control" ng-model="stepNotes" ng-disabled="isBrowse"                           style="height:100px; max-width: 300px; border-radius:0;display:inline-block;vertical-align:top;"                          placeholder="备注"></textarea>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;" ng-if="!isBatchExecute">        <button class="lc-btn lc-btn-primary" ng-if="isDefaultRepeatStep == 1 && isRepeatable"                ng-click="ok(\'executeAndFinish\')" ng-hide="isBrowse">            执行并提前完成该步骤        </button>        <button class="lc-btn lc-btn-primary" ng-if="isDefaultRepeatStep != 1 && isRepeatable"                ng-click="ok(\'executeAndFinish\')" ng-hide="isBrowse">            执行并完成该步骤        </button>        <button class="lc-btn lc-btn-primary" ng-click="ok(\'execute\')" ng-hide="isBrowse">确定</button>        <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;" ng-if="isBatchExecute">        <button class="lc-btn lc-btn-primary" ng-if="isAllDefaultRepeatStep == 1 && isRepeatable"                ng-click="batchOk(\'executeAndFinish\')" ng-hide="isBrowse">            执行并提前完成该步骤        </button>        <button class="lc-btn lc-btn-primary" ng-if="isAllNotDefaultRepeatStep == 1 && isRepeatable"                ng-click="batchOk(\'executeAndFinish\')" ng-hide="isBrowse">            执行并完成该步骤        </button>        <button class="lc-btn lc-btn-primary" ng-click="batchOk(\'execute\')" ng-hide="isBrowse">确定</button>        <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-execution-step-log-dialog/charge-execution-step-log-view.html','<div class="simple-modal-wrap" id="execution-step-log" ares-modal-dragable ares-clean-kendo>    <style>        #execution-step-log {        }            #execution-step-log .simple-modal-content {            }                #execution-step-log .simple-modal-content .content-table {                    width: 100%;                }                    #execution-step-log .simple-modal-content .content-table th {                        height: 32px;                        line-height: 32px;                        font-size: 14px;                        font-weight: 400;                        background-color: #f4f4f4;                        box-sizing: border-box;                    }                    #execution-step-log .simple-modal-content .content-table td {                        min-height: 48px;                        line-height: 48px;                        font-size: 14px;                        font-weight: 400;                    }                    #execution-step-log .simple-modal-content .content-table tr:nth-child(2n+1) {                        background-color: #eff7ff;                    }            #execution-step-log table.content-table tr td {                vertical-align: top;                box-sizing: border-box;                text-overflow: ellipsis;                white-space: nowrap;                padding: 0 5px;            }                #execution-step-log table.content-table tr td .single-line-text {                    display: inline-block;                    vertical-align: middle;                    width: 100%;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                }    </style>    <div class="simple-modal-header modal-header">        <div class="simple-modal-title">            <h3>日志</h3>            <span>{{ executionStep.stepName }} 方案定制</span>        </div>        <div class="simple-modal-close">            <button ng-click="clean()"></button>        </div>    </div>    <div class="simple-modal-content modal-body">        <table class="content-table">            <tr>                <th style="text-align:left;width:140px;padding-left:10px;">时间</th>                <th style="text-align:center;width:80px;">操作诊所</th>                <th style="text-align:center;width:80px;">操作人</th>                <th style="text-align:center;width:100px;">操作</th>                <th style="text-align:center;width:130px;">原因</th>            </tr>            <tr ng-repeat="logItem in stepActionLogs" ng-show="stepActionLogs.length>0">                <td style="text-align:left;min-width:140px;width:140px;max-width:140px;padding-left:10px;">                    <span class="single-line-text" title="{{ logItem.createDateTimeStr }}">                        {{ logItem.createDateTimeStr }}                    </span>                </td>                <td style="text-align:center;min-width:80px;min-width:80px;max-width:80px">                    <span class="single-line-text" title="{{ logItem.officeName }}">                        {{ logItem.officeName }}                    </span>                </td>                <td style="text-align:center;min-width:80px;min-width:80px;max-width:80px">                    <span class="single-line-text" title="{{ logItem.operator }}">                        {{ logItem.operator }}                    </span>                </td>                <td style="text-align:center;min-width:120px;width:120px;max-width:120px">                    <span class="single-line-text" title="{{ logItem.action }}">                        {{ logItem.action }}                    </span>                </td>                <td style="text-align:center;min-width:130px;width:130px;max-width:130px">                    <span class="single-line-text" title="{{ logItem.notes }}">                        {{ logItem.notes }}                    </span>                </td>            </tr>            <tr ng-if="!stepActionLogs||!stepActionLogs.length">                <td colspan="4" style="width:100%;text-align:center;">没有操作记录</td>            </tr>        </table>    </div></div>');templateCache.put('/app/charge/dialogs/charge-execution-step-revert-dialog/charge-execution-step-revert-view.html','<div class="simple-modal-wrap" id="execution-step-revert" ares-modal-dragable ares-clean-kendo>    <style>    </style>    <div class="simple-modal-header modal-header">        <div class="simple-modal-title">            <h3>撤回执行步骤</h3>        </div>        <div class="simple-modal-close">            <button ng-click="clean()"></button>        </div>    </div>    <div class="simple-modal-content modal-body">        <div style="padding:10px 10px 0 10px;">            <textarea class="form-control" ng-model="stepNotes"                      style="height:200px; max-width: 500px; border-radius:0;"                      placeholder="撤回原因..."></textarea>        </div>    </div>    <div class="simple-modal-footer modal-footer">        <button type="button" class="lc-btn lc-btn-primary" ng-click="ok()">撤回</button>        <button type="button" class="lc-btn lc-btn-default" ng-click="clean()">取消</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-execution-step-skip-dialog/charge-execution-step-skip-view.html','<div class="simple-modal-wrap enyo" id="execution-step-revert"     ares-modal-dragable ares-clean-kendo>    <style>    </style>    <div class="simple-modal-header modal-header">        <div class="simple-modal-title">            <h3>跳过执行步骤</h3>        </div>        <div class="simple-modal-close">            <button ng-click="clean()"></button>        </div>    </div>    <div class="simple-modal-content modal-body">        <div style="padding:10px 10px 0 10px;">            <label>您确定跳过患者该步骤的治疗吗？</label>            <textarea class="form-control" ng-model="stepNotes"                      style="height:100px; max-width: 500px; border-radius:0;"                      placeholder="请输入跳过原因..."></textarea>        </div>    </div>    <div class="simple-modal-footer modal-footer">        <button type="button" class="lc-btn lc-btn-primary" ng-click="ok()">确定</button>        <button type="button" class="lc-btn lc-btn-default" ng-click="clean()">取消</button>    </div></div>');templateCache.put('/app/charge/dialogs/charge-third-party-business-dialog/third-party-pos-pay-dialog-view.html','<div ares-clean-kendo class="enyo" id="third-party-pos-pay-dialog">    <style>        .enyo #focus-controller {            position: fixed;            left: -10000px;            width: 10px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{ deviceUtil.channelName }}支付窗口</div>            <input id="focus-controller" type="text">        </div>        <div class="enyo-modal-content" style="min-height:200px;padding:15px;">            <div ng-show="processStatusUtil.isReading() || processStatusUtil.isWaitPay()">                <h3 style="font-weight:bold;">请使用{{ deviceUtil.channelName }}付款{{ payAmount | toMoney }}元</h3>            </div>            <hr />            <!--选择汇付设备-->            <div class="device-select" ng-show="processStatusUtil.isReading()">                <div class="form-group">                    <label>请选择POS机，双击开始收费：</label>                    <button class="btn btn-primary" ng-click="deviceUtil.createDevice()">添加设备</button>                </div>                <div class="form-group" style="margin-bottom:5px;" ng-repeat="device in deviceUtil.deviceList">                    <button ng-dblclick="beginPay(device)"                            style="display:inline;min-width:300px;"                            class="btn btn-default">                        {{ device.getTitleName() }}                    </button>                    <a class="glyphicon glyphicon-trash"                       style="margin-left:10px;"                       ng-click="deviceUtil.deleteDevice(device)"                       title="删除"></a>                </div>                <div id="edit-device-wrap" class="form-group" ng-show="deviceUtil.isEdit"></div>            </div>            <!--支付-->            <div class="pos-pay-process" ng-show="processStatusUtil.isWaitPay()">                <h1>等待支付...</h1>                <h3 ng-if="payOrderNo">订单号：{{payOrderNo}}</h3>                <label>如果需要修改账单，请在pos机点击取消按钮。 查询第 {{ queryIndex }} 次</label>            </div>            <div class="pos-pay-succeeded" ng-show="processStatusUtil.isSucceeded()">                <h1>支付成功</h1>                <h3 ng-if="payOrderNo">订单号：{{ payOrderNo }}</h3>                <label>{{ deviceUtil.channelName }}收费{{ payAmount | toMoney }}元</label>            </div>            <div class="pos-pay-time-out" ng-show="processStatusUtil.isTimeout()">                <h1>等待支付超时</h1>                <h3 ng-if="payOrderNo">订单号：{{payOrderNo}}</h3>                <h3>未查询到收费完成信息。</h3>                <div style="margin:10px 0">                    <label>如果想继续等待，请点击重试。  </label>                    <button class="btn btn-primary restart-check" ng-click="restartQuery()">继续等待</button>                </div>                <div ng-show="deviceUtil.CanCancel()">                    <label>如果想取消订单，请点击取消。  </label>                    <button class="btn btn-primary restart-check" ng-click="cancelCheck()"                            ng-disabled="disableCancel" is-show="canCancel()">                        取消订单                    </button>                </div>            </div>            <div id="pos-pay-fail" ng-show="processStatusUtil.isFailed()">                <h1>支付失败</h1>                <h3 ng-if="payOrderNo">订单号：{{payOrderNo}}</h3>                <h3>{{ errorMessage }}</h3>                <div style="margin:10px 0">                    <label>如果想重新收费，请点击重新发起。  </label>                    <button class="btn btn-primary re-begin-pay" ng-click="rebeginPay()">                        重新发起                    </button>                </div>            </div>        </div>        <div class="enyo-modal-footer" style="padding:10px 0px;">            <button class="btn btn-default close-btn" ng-click="close()"                    ng-disabled="processStatusUtil.isWaitPay()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-third-party-business-dialog/third-party-qrcode-pay-dialog-view.html','<div id="third-party-qrcode-dialog" class="enyo" ares-modal-dragable ares-clean-kendo>    <div class="enyo-modal-container">        <div class="enyo-modal-header">            <div class="pull-left enyo-modal-title">{{ payType }}二维码窗口</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" style="padding: 15px;">            <p>请使用 {{ getPayChannelDescribe() }} 扫二维码支付。</p>            <p>支付成功后将自动关闭此页面，请耐心等待.</p>            <div id="qrcode-image-wrap" style="width: 200px;margin: 0 auto;"></div>        </div>        <div class="enyo-modal-footer" style="padding: 5px;text-align: center;">            <button type="button" class="btn btn-primary" ng-click="close()">关闭</button>            <button id="cancel-pay-order-btn" type="button" class="btn btn-default" style="margin: 0;"                ng-click="cancel()"  ng-show="canClose">                取消订单            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-third-party-business-dialog/third-party-refund-dialog-view.html','<div id="third-party-refund-dialog" class="enyo" ares-modal-dragable ares-clean-kendo>    <style>        #third-party-refund-dialog #disable-esc-input {            position: fixed;            left: -10000px;            width: 10px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <h4 class="pull-left enyo-modal-title">{{ refundChannelName }}退费</h4>            <input id="disable-esc-input" type="text" />        </div>        <div class="enyo-modal-content">            <div class="form-group" style="padding:20px;" ng-hide="isQueryTimeOut || isSucceeded() ||isFailed()">                <h2 style="margin: 15px 0;">正在进行{{ refundChannelName }}退费，请耐心等候</h2>                <p ng-show="queryCount && isQueryRefund" style="margin: 15px 0 0 0;">正在第{{queryCount}}次查询退费状态......</p>            </div>            <div class="form-group" style="padding:20px;" ng-show="isQueryTimeOut">                <h2 style="margin: 15px 0;">{{ refundChannelName }} 退费结果查询请求超时</h2>                <div>                    <button class="btn btn-primary restart-check" ng-click="restartQuery()">继续查询</button>                    <button class="btn btn-primary restart-check" ng-click="cancelCheck()"                            ng-disabled="disableCancel">                        取消退费                    </button>                </div>            </div>            <div class="form-group" style="padding:20px;" ng-show="isSucceeded()">                <h2 style="margin: 15px 0;">                    {{ refundChannelName }} 退费成功                </h2>                <label>{{ refundChannelName }} 退费 {{ refundAmount }} 元</label>            </div>            <div class="form-group" style="padding:20px;" ng-show="isFailed()">                <h2 style="margin: 15px 0;">{{ refundChannelName }} 退费失败</h2>                <h4>失败原因： {{ refundResult.message }}</h4>            </div>        </div>        <div class="enyo-modal-footer" style="padding:10px 0px;">            <button class="btn btn-default close-btn" ng-click="close()"                    ng-disabled="!isQueryTimeOut && !isSucceeded() && !isFailed()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-third-party-business-dialog/third-party-scan-pay-dialog-view.html','<div ares-clean-kendo class="enyo" id="third-party-scan-pay-dialog">    <style>        #third-party-scan-pay-dialog #scan-code-input {            position: fixed;            left: -10000px;            width: 10px;        }        #third-party-scan-pay-dialog .scan-pay-hint {            font-size: large;            font-weight: bold;            color: darkblue;            text-align: center;            margin-bottom: 15px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <h4 class="pull-left enyo-modal-title">{{ dialogTitle }}支付窗口</h4>        </div>        <div class="enyo-modal-content" style="padding: 15px;">            <div id="scan-pay-bg" ng-show="isCreatePay">                <p class="scan-pay-hint">                    请使用扫码付费，支付完成前请勿关闭窗口！                </p>                <div align="center"><img src="images/barcodescan.png" /></div>            </div>            <div ng-show="isCheckPay">                <strong style="font-size: 20px;">查询支付结果</strong>                <br />                <span style="margin-top: 15px;">正在进行第{{queryCount}}次查询......</span>            </div>        </div>        <div class="enyo-modal-footer" style="padding:10px 0px;">            <button class="btn btn-default close-btn" ng-click="cancel()" ng-disabled="queryCount < 10">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-use-critical-product-dialog/charge-use-critical-product-dialog-view.html','<div class="enyo charge-use-critical-product-dialog-wrapper">    <style scoped>        .charge-use-critical-product-dialog-wrapper {            font-size: 13px;        }            .charge-use-critical-product-dialog-wrapper .form-group {                width: 145px;            }            .charge-use-critical-product-dialog-wrapper .title {                width: 140px;                word-break: break-word;            }            .charge-use-critical-product-dialog-wrapper .footer {                position: absolute;                bottom: 0;                width: 100%;                line-height: 56px;            }            .charge-use-critical-product-dialog-wrapper .search-item {                margin-right: 10px;            }                .charge-use-critical-product-dialog-wrapper .search-item input.smaller-placeholder {                    padding: 4px 12px;                }            .charge-use-critical-product-dialog-wrapper .clean-input-group {                padding: 5px;            }                .charge-use-critical-product-dialog-wrapper .clean-input-group input {                    box-shadow: none;                    border-right: 0;                }                    .charge-use-critical-product-dialog-wrapper .clean-input-group input:focus {                        box-shadow: none;                        border: 1px solid #ccc;                        border-right: 0;                    }                .charge-use-critical-product-dialog-wrapper .clean-input-group .input-group-addon {                    background: #fff;                    border-radius: 0;                }    </style>    <div class="enyo-bg-light-blue basic-info-form enyo-border-bottom">        <div class="search-item pull-left">            <div class="input-group clean-input-group" style="width: 320px;">                <input class="form-control inputsearchtext smaller-placeholder"                       ng-keypress="onEnter($event)"                       ng-model="currentUnicode"                       placeholder="请扫描耗材唯一码">                <span ng-click="addCriticalProduct()" class="input-group-addon iconsearchbtn">                    <i class="iconfont icon-sousuo"></i>                </span>            </div>        </div>    </div>    <table class="enyo-table-header-secondary clearfix">        <thead>            <tr>                <th style="padding-left: 10px; width: 20%; text-align: left;">名称</th>                <th style="padding-left: 10px; width: 15%; text-align: left;">品牌</th>                <th style="padding-left: 10px; width: 20%; text-align: left;">规格</th>                <th style="padding-left: 10px; width: 25%; text-align: left;">唯一码</th>                <th style="padding-left: 10px; width: 10%; text-align: center;">操作</th>            </tr>        </thead>    </table>    <div class="table-main-content" style="height: calc(100vh - 210px);">        <table style="width:100%;" class="enyo-input-table">            <tr ng-repeat="product in criticalProductAssist._criticalProducts">                <td style="width: 20%; padding-left: 10px;">                    <span class="enyo-double-line-text" title="{{product.name}}">                        {{product.name}}                    </span>                </td>                <td style="width: 15%; padding-left: 10px;">                    <span class="enyo-double-line-text" title="{{product.brand}}">                        {{product.producer}}                    </span>                </td>                <td style="width: 20%; padding-left: 10px;">                    <span class="enyo-double-line-text" title="{{product.specification}}">                        {{product.specification}}                    </span>                </td>                <td style="width: 25%; padding-left: 10px;">                    <span class="enyo-double-line-text" title="{{product.unicode}}">                        {{product.unicode}}                    </span>                </td>                <td style="width: 10%; padding-left: 10px; text-align: center;">                    <button class="btn icon-btn btn-light-yellow btn-xs" ng-click="onRemoveProduct(product)">                        <i class="iconfont icon-shanchu"></i>                    </button>                </td>            </tr>        </table>    </div>    <div class="footer enyo-bg-light clearfix">        <div class="pull-right">            <button class="btn btn-default" ng-click="cancel()"                    sensors-enabled="true" sensors-event-name="CancelUseCriticalProduct" sensors-event-type="取消">                取消            </button>            <button class="btn btn-warning" ng-click="saveCriticalProduct()"                    sensors-enabled="true" sensors-event-name="saveCriticalProduct" sensors-event-type="使用">                使用            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-workflow-order-dialog/charge-workflow-order-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">{{ getTitle() }}</h4>    </div>    <div class="modal-body ares-dialog-body" id="mainDiv">        <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <table style="width: 100%; margin-bottom: 20px;">                            <tr>                                <td rowspan="3" align="left">                                    <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                </td>                            </tr>                            <tr>                                <td height="45">                                    病历号：{{patientAssist.privateId}}                                </td>                                <td>                                    初诊复诊：{{appointmentAssist | toApptType}}                                </td>                            </tr>                            <tr>                                <td>                                    手机：{{patientAssist.mobile}}                                </td>                                <td style="word-break: break-all;">                                    预约项目：{{appointmentAssist | toApptTransaction}}                                </td>                            </tr>                        </table>                    </div>                    <div class="charge-order-action-group">                        <charge-workflow-info-view workflow-item="workflowItem"                                                   charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"></charge-workflow-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           is-from-workflow-browse="true"></charge-order-receivable-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"                                                        patient-assist="patientAssist"></charge-order-payment-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       appointment-assist="appointmentAssist"                                                       is-from-workflow-browse="true"></charge-order-extend-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-last-action-info-view is-show-save="false" is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            is-from-workflow-browse="true"></charge-order-last-action-info-view>                    </div>                </div>            </div>            <notification-upload-success></notification-upload-success>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/charge-workflow-repay-order-dialog/charge-workflow-repay-order-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">收欠费</h4>    </div>    <div class="modal-body ares-dialog-body">        <charge-edit-batch-overdue-order-view batch-overdue-order-id="batchOverdueOrderId"                                              patient-id="patientId"                                              close-event-method="close"                                              order-action-type="\'browse\'"                                              batch-repay-info="workflowSnapshotObj"></charge-edit-batch-overdue-order-view>    </div></div>');templateCache.put('/app/charge/dialogs/entry-identity-card-dialog/entry-identity-card-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .ares-dialog-footer {            border-left: 0px solid #608FB7;            border-right: 0px solid #608FB7;        }        .idcardcss {            height: 250px;        }        .idcardinputcss {            width: 100px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">身份证号码输入</h4>    </div>    <form id="patientForm" name="patientForm" validator="validator">        <div class="modal-body ares-dialog-body idcardcss" style="padding: 5px;">            <div>                <table style="width: 100%; padding-left: 10px; margin-top: 70px;">                    <tr>                        <td style="text-align: right; width: 210px;"><label for="identityCard" class="control-label">请输入身份证号码：</label></td>                        <td><input type="text" id="identityCard" name="identityCard" ng-model="idCard" class="form-control" /></td>                    </tr>                    <tr>                        <td></td>                        <td>                            <button style="margin-top: 34px;" class="btn btn-primary ares-btn-blue" ng-click="goon()">继续</button>                            <button style="margin-top: 34px; margin-left: 50px;" class="btn btn-primary" ng-click="cancel()">退出</button>                        </td>                    </tr>                </table>            </div>        </div>    </form>    <div class="modal-footer ares-dialog-footer" style="height: 0px; padding: 0px;">    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/dialogs/shangbao-bill-item-detail-dialog/shangbao-bill-item-detail-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        .bill-item-detail-last-action-wrap {            margin: 10px 0 10px 0;            text-align: center;        }        #history-bill-records-table {            margin: 10px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title" >费用详情</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="history-bill-records-table" class="ares-data-table"></div>        <div style="text-align:right;margin-right:100px">自付总计：<span>{{totalPayPrice}}</span></div>        <div class="bill-item-detail-last-action-wrap">            <button class="btn btn-default" ng-click="close()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/shangbao-history-bill-dialog/shangbao-history-bill-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        .shangbao-history-last-action-wrap {            margin: 10px 0 10px 0;            text-align: center;        }        #history-bill-records-table {            margin: 10px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title center-title">历史记录</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="history-bill-records-table" class="ares-data-table"></div>        <div class="shangbao-history-last-action-wrap">            <button class="btn btn-default" ng-click="close()">                关闭            </button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/validate-gift-certificte-password-dialog/validate-gift-certificte-password-dialog-view.html','<div ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">卡券密码校验</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="height:100px;">            <div class="form-group" style="padding: 30px;">                <span class="control-label" style="width: 100px;">请输入卡券密码：</span>                <input type="text" ng-model="password" class="form-control" ng-change="onPwdChanged()" style="display: inline;">                <p ng-show="isPwdError" class="enyo-text-danger" style="margin-left:130px;">{{errMsg}}</p>            </div>        </div>        <div class="enyo-modal-footer" style="padding: 5px; text-align:center;">            <button class="btn btn-default" ng-click="cancel()">取消</button>            <button class="btn btn-primary last-field" ng-click="ok()">确定</button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/validate-shangebao-qualification-dialog/validate-shangbao-qualification-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">商保资格</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="row">            <div class="col-sm-12" style="margin-bottom: 6px">                <fieldset>                    <legend>查询信息</legend>                    <div style="float: left;"><label style="margin-top: 5px;" class="control-label">姓名：</label><input style="margin-top: -30px; margin-left: 47px; width: 60%;" class="form-control" ng-model="patient.name" /></div>                    <div><input id="document" class="control-label" style="width: 100px;" /><input style="float: right; width: 30%; margin-right: 62px;" class="form-control" ng-model="patient.identityCard" /></div>                </fieldset>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button class="btn btn-primary" ng-click="confirm()">确定</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/dialogs/yibao-check-code-select-dialog/yibao-check-code-select-dialog-view.html','<div ares-modal-dragable>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">选择挂号信息</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="checkCodeList"></div>    </div>    <div class="modal-footer ares-dialog-footer">        <button class="btn btn-primary" ng-click="confirm()">确定</button>        <button class="btn btn-default" ng-click="cancel()">取消</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/dialogs/yibao-check-in-fee-browse-dialog/yibao-check-in-fee-browse-dialog-view.html','<div class="yobao-checkin-fee-browse-wrapper enyo">    <style>        .yobao-checkin-fee-browse-wrapper {        }            .yobao-checkin-fee-browse-wrapper span {                font-size: 16px;                font-weight: bold;                margin-right: 25px;            }            .yobao-checkin-fee-browse-wrapper .content-item {                padding: 15px;            }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">挂号成功</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close()"></div>        </div>        <div class="enyo-modal-content" style="height:260px; padding: 10px;">            <div class="content-item" style="border-bottom: 1px solid #808080;">                <span>姓名:{{checkInInfo.patientName}}({{checkInInfo.checkInType}})</span>                <span>医保号:{{yibaoOrder.yibaoAccountNo}}</span>                <span>科室:{{department}}</span>            </div>            <div class="content-item">                <span>现金支付：{{ printData.extend4 }}</span>                <span>个人自费：{{ printData.extend5 }}</span>                <span>个人自付：{{ printData.extend6 }}</span>                <span>个人自负：{{ printData.extend7 }}</span>            </div>            <div class="content-item">                <span>个人承担：{{ printData.extend8 }}</span>                <span>当年账户：{{ printData.extend9 }}</span>                <span>历年帐户：{{ printData.extend10 }}</span>                <span>当年余额：{{ printData.extend11 }}</span>            </div>            <div class="content-item">                <span>历年余额：{{ printData.extend12 }}</span>                <span>医保基金（大病）：{{ printData.extend13 }}</span>                <span>共济账户：{{ printData.extend14 }}</span>                <span>共济余额：{{ printData.extend15 }}</span>            </div>            <div class="content-item">                <span>年度费用累计：{{ printData.extend16 }}</span>                <span>自负段累计：{{ printData.extend17 }}</span>                <span>抵扣的自负承担：{{ printData.extend18 }}</span>            </div>        </div>        <div class="enyo-modal-footer" style="padding: 10px;text-align:center;">            <button style="margin-right:10px;" class="btn btn-primary last-field" ng-click="print()">打印数据</button>            <button class="btn btn-default last-field" ng-click="close()">关闭</button>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-check-in-repay-dialog/yibao-check-in-repay-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo" id="yibao-check-in-self-rapay">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">收费</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <div class="enyo-modal-content" id="mainDiv">            <div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">                <div class="charge-order-handle">                    <div class="panel-body charge-order-body">                        <div class="charge-order-action-group">                            <table style="width: 100%; margin-bottom: 15px;">                                <tr>                                    <td rowspan="3" align="left">                                        <ares-patient-namecard patient="patientAssist"></ares-patient-namecard>                                    </td>                                </tr>                                <tr>                                    <td height="45">                                        病历号：{{patientAssist.privateId}}                                    </td>                                    <td>                                        初诊复诊：{{appointmentAssist | toApptType}}                                    </td>                                </tr>                                <tr>                                    <td>                                        手机：{{patientAssist.mobile}}                                    </td>                                    <td style="word-break: break-all;">                                        预约项目：{{appointmentAssist | toApptTransaction}}                                    </td>                                </tr>                            </table>                        </div>                        <div class="charge-order-action-group">                            <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"></charge-order-receivable-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"                                                            membership-assist="membershipAssist"                                                            patient-assist="patientAssist"></charge-order-payment-info-view>                        </div>                        <div class="charge-order-action-group">                            <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           appointment-assist="appointmentAssist"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"                                                           invoice-assist="invoiceAssist"                                                           yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                        </div>                    </div>                </div>                <notification-upload-success></notification-upload-success>            </div>        </div>        <div class="enyo-modal-footer" style="padding:5px;text-align:center">            <div class="charge-order-handle">                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group" ng-if="!isYibaoGatewayEnabled">                        <charge-order-last-action-info-view is-show-print-setup="true"                                                            charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="isYibaoGatewayEnabled">                        <charge-yibao-order-last-action-info-gateway-view charge-order-price-handle="chargeOrderPriceHandle"                                                                          charge-order-event-info="sourceOrderEventInfo"                                                                          yibao-charge-handler-center="yibaoChargeHenderCenter">                        </charge-yibao-order-last-action-info-gateway-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-diagnosis-handle-dialog/yibao-diagnosis-handle-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding: 5px;">        <div id="diagnosisList" style="margin-top: 5px;height:400px"></div>    </div>    <div class="modal-footer ares-dialog-footer">        <button class="btn btn-primary ares-btn-blue" ng-click="confirm()">确定</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-gateway-process-ui-dialog/yibao-gateway-process-ui-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="confirm()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding: 0px;">        <div style="min-height:550px;" ng-if="!isNotFromUrl">            <iframe ng-src="{{processUiUrl}}" style="width:100%; min-height:550px"></iframe>        </div>        <div style="min-height:550px;" ng-if="isNotFromUrl" id="healthInsuranceSettlementContainer">                    </div>    </div>    <div class="modal-footer ares-dialog-footer" style="height: 0px;">    </div></div>');templateCache.put('/app/charge/dialogs/yibao-gdgz-settlement-query-dialog/yibao-gdgz-settlement-query-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">费用结算结果查询</h4>    </div>    <div class="modal-body ares-dialog-body">        <div style="min-height:80px;">            <label class="col-sm-10" ng-if="yibaoPrice==null">                正在进行第{{repeatCount}}次查询......            </label>            <label class="col-sm-10" ng-if="yibaoPrice!=null">                查询结算完成            </label>            <label class="col-sm-10" ng-if="yibaoPrice!=null">                统筹支付金额：{{yibaoPrice}}            </label>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-primary" ng-disabled="!yibaoPrice" ng-click="confirm()">确认</button>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-inhospital-handle-dialog/yibao-inhospital-handle-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style></style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">住院登记</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="row">            <div class="col-sm-12" style="margin-bottom:6px">                <table>                    <tr>                        <td><label class="control-label">身份证号：</label></td>                        <td><input class="form-control" disabled="disabled" ng-model="patient.identityCard" /></td>                        <td><button class="btn btn-primary" style="margin-left: 20px" ng-click="lookup()">查询</button></td>                    </tr>                </table>            </div>            <div class="col-sm-12">                <fieldset>                    <legend>患者基本信息</legend>                    <table>                        <tr>                            <td style="width: 5%"><label class="control-label">姓名：</label></td>                            <td style="width: 10%"><input class="form-control" disabled="disabled" ng-model="patient.name" /></td>                            <td style="width: 8%"><label class="control-label" style="margin-left: 20px">性别：</label></td>                            <td style="width: 5%"><input class="form-control" disabled="disabled" ng-value="patient.sex|toSexString" /></td>                            <td style="width: 8%"><label class="control-label" style="margin-left: 20px">身份证号：</label></td>                            <td style="width: 20%"><input class="form-control" disabled="disabled" ng-model="patient.identityCard" /></td>                            <td style="width: 8%"><label class="control-label" style="margin-left: 20px">出生日期：</label></td>                            <td style="width: 12%"><input class="form-control" disabled="disabled" ng-value="patient.birth|toDateString" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td style="width: 9%"><label class="control-label">人员类别：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-model="patient.patientYibaoInfo.PersonType" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px">干部级别：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="patient.patientYibaoInfo.CadreRank" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px">参保状态：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="patient.patientYibaoInfo.InsuredStatus" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td style="width: 9%"><label class="control-label">入院日期：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-value="patient.hospitalDate|toDateString" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px">住院号：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="inpatientNumber" /></td>                            <td></td>                            <td></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td style="width: 9%"><label class="control-label">待遇类别：</label></td>                            <td colspan=3><input class="form-control" disabled="disabled" ng-model="patient.treatmentType" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px"><a style="color: blue" ng-click="openDiagnosis()">入院诊断：</a></label></td>                            <td colspan=3><input class="form-control" disabled="disabled" ng-model="diagnosisInfo.itemName" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td style="width: 9%"><label class="control-label">入院病区：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-model="patient.inpatientArea" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px">入院科室：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="patient.department" /></td>                            <td style="width: 9%"><label class="control-label" style="margin-left: 20px">床号：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="patient.bedNumber" /></td>                        </tr>                    </table>                </fieldset>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button class="btn btn-primary ares-btn-blue" ng-disabled="!patient.patientYibaoInfo" ng-click="confirm()">确定</button>        <button class="btn btn-default" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-patient-info-query-dialog/yibao-patient-info-query-dialog-view.html','<div ares-modal-dragable id="yibao-patient-info">    <style>        #yibao-patient-info .patient-yibao-info-area {            width: 100%;            min-height: 280px;        }        #yibao-patient-info .patient-read-card {            width: 100%;            height: 100%;            text-align: center;            padding-top: 20%;        }            #yibao-patient-info .patient-read-card:hover {                cursor: pointer;            }                #yibao-patient-info .patient-read-card:hover h3 {                    color: #00a8cb;                }        #yibao-patient-info .patient-yibao-info-area table td {            height: 28px;        }        #yibao-patient-info .align-center {            text-align: center;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">医保信息详情</h4>    </div>    <div class="modal-body ares-dialog-body">        <div class="patient-yibao-info-area" ng-hide="getYibaoPatientInfoSuccess">            <div class="patient-read-card" ng-click="onClickReadCard()">                <h3>点击读卡</h3>            </div>        </div>        <div class="patient-yibao-info-area" ng-show="getYibaoPatientInfoSuccess">            <table style="width:100%" ng-if="yibaoType==\'jxfz\'">                <thead>                    <tr>                        <th width="20%"></th>                        <th width="30%"></th>                        <th width="20%"></th>                        <th width="30%"></th>                    </tr>                </thead>                <tbody>                    <tr>                        <td>姓名：</td>                        <td>{{yibaoPatientInfo.Name}}</td>                        <td>性别：</td>                        <td>{{yibaoPatientInfo.Sex}}</td>                    </tr>                    <tr>                        <td>身份证：</td>                        <td>{{yibaoPatientInfo.IdentityNumber}}</td>                        <td>出生日期：</td>                        <td>{{yibaoPatientInfo.Birthday}}</td>                    </tr>                    <tr>                        <td>病人类型：</td>                        <td>医保</td>                        <td>个人账户：</td>                        <td>{{yibaoPatientInfo.RemainAmount}}</td>                    </tr>                    <tr>                        <td>社保编号：</td>                        <td>{{yibaoPatientInfo.InsuranceNo}}</td>                        <td>医疗证号：</td>                        <td>{{yibaoPatientInfo.InsuranceCardNo}}</td>                    </tr>                    <tr>                        <td>地区编号：</td>                        <td>{{yibaoPatientInfo.DistrictCode}}</td>                        <td>地区名称：</td>                        <td>{{yibaoPatientInfo.DistrictName}}</td>                    </tr>                </tbody>            </table>            <table style="width:100%" ng-if="yibaoType==\'sz\'">                <thead>                    <tr>                        <th width="20%"></th>                        <th width="30%"></th>                        <th width="20%"></th>                        <th width="30%"></th>                    </tr>                </thead>                <tbody>                    <tr>                        <td>姓名：</td>                        <td>{{yibaoPatientInfo.patientName}}</td>                        <td>性别：</td>                        <td>{{yibaoPatientInfo.patientSex}}</td>                    </tr>                    <tr>                        <td>年龄：</td>                        <td>{{yibaoPatientInfo.age}}</td>                        <td>病人类型：</td>                        <td>{{yibaoPatientInfo.patientType}}</td>                    </tr>                    <tr>                        <td>医疗证号：</td>                        <td>{{yibaoPatientInfo.insuranceCardNO}}</td>                        <td>个人账户：</td>                        <td>{{yibaoPatientInfo.availableAmount}}</td>                    </tr>                    <tr>                        <td>单位编号：</td>                        <td>{{yibaoPatientInfo.orgNO}}</td>                        <td>单位名称：</td>                        <td>{{yibaoPatientInfo.orgName}}</td>                    </tr>                </tbody>            </table>        </div>    </div>    <div class="modal-footer ares-dialog-footer align-center">        <button type="button" class="btn btn-default" ng-click="close()">关闭</button>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-patient-info-submitting-dialog/yibao-patient-info-submitting-dialog-view.html','<div class="yibao-patient-info-dialog-wrapper" ares-modal-dragable ares-clean-kendo>    <style scoped>        .yibao-patient-info-dialog-wrapper .content-outline {            border: 1px solid #e3e3e3;        }        .yibao-patient-info-dialog-wrapper .content-table {            width: 100%;        }            .yibao-patient-info-dialog-wrapper .content-table input {                width: 250px;                margin-left: 10px;            }            .yibao-patient-info-dialog-wrapper .content-table tr {                height: 40px;            }            .yibao-patient-info-dialog-wrapper .content-table .read-card-cell {                width: 160px;                border: 1px solid #00a8cb;                border-radius: 4px 0 0 4px;                text-align: center;                vertical-align: top;            }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">提交患者医保信息</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding: 10px;">        <div class="content-outline">            <table class="content-table">                <tr>                    <td rowspan="4" class="read-card-cell">                        <div style="margin-top:10px;">                            <span style="font-weight:bold">步骤1：</span>                            <span>读取IC卡</span>                        </div>                        <button class="btn btn-primary ares-btn-blue" ng-click="readCard()" style="margin-top:35px;">读IC卡</button>                    </td>                    <td colspan="2" style="text-align:center;">                        <span style="font-weight:bold">步骤2：</span>                        <span>确认患者信息，提交信息</span>                    </td>                </tr>                <tr>                    <td style="padding-left:10px; width:130px">                        医疗证号/刷卡：                    </td>                    <td>                        <input ng-model="yibaoWorkflowManager.yibaoPatientInfo.encryptedCardNO"></input>                    </td>                </tr>                <tr>                    <td style="padding-left:10px;">                        密码：                    </td>                    <td>                        <input ng-model="yibaoWorkflowManager.yibaoPatientInfo.password" type="password"></input>                    </td>                </tr>                <tr>                    <td colspan="2" style="text-align:center;">                        <button class="btn btn-primary" ng-click="submit()">提交</button>                    </td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/charge/dialogs/yibao-pre-settlement-handle-dialog/yibao-pre-settlement-handle-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">预结算</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding: 5px;">        <div class="row">            <div class="col-sm-12">                <fieldset>                    <legend>个人业务信息</legend>                    <table>                        <tr>                            <td style="width: 8%"><label class="control-label">姓名：</label></td>                            <td style="width: 8%"><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.patient.name" /></td>                            <td style="width: 6%"><label class="control-label" style="margin-left: 20px">性别：</label></td>                            <td style="width: 5%"><input class="form-control" disabled="disabled" ng-value="inHospitalInfo.patient.sex|toSexString" /></td>                            <td style="width: 10%"><label class="control-label" style="margin-left: 20px">级别：</label></td>                            <td style="width: 16%"><input class="form-control" disabled="disabled" /></td>                            <td style="width: 8%"><label class="control-label" style="margin-left: 20px">人员类别：</label></td>                            <td style="width: 10%"><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.patient.patientYibaoInfo.PersonType" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label">身份证号：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.patient.identityCard" /></td>                            <td><label class="control-label" style="margin-left: 20px">医保流水号：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.SerialNumber" /></td>                            <td><label class="control-label" style="margin-left: 20px">单位名称：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.patient.patientYibaoInfo.DepartmentName" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label">入院诊断：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.diagnosisInfo.itemName" /></td>                            <td><label class="control-label" style="margin-left: 20px">入院日期：</label></td>                            <td><input class="form-control" disabled="disabled" ng-value="inHospitalInfo.patient.hospitalDate|toDateString" /></td>                            <td><label class="control-label" style="margin-left: 20px">待遇类别：</label></td>                            <td><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.patient.treatmentType" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label"><a style="color: blue" ng-click="openDiagnosis()">出院诊断：</a></label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" ng-model="inHospitalInfo.outDiagnosisInfo.itemName" /></td>                            <td><label class="control-label" style="margin-left: 20px">出院日期：</label></td>                            <td><input class="form-control" disabled="disabled" ng-value="inHospitalInfo.patient.dischargeDate|toDateString" /></td>                            <td><label class="control-label" style="margin-left: 20px">出院转归：</label></td>                            <td><input id="zhuanGui" class="form-control" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label">第一副诊断：</label></td>                            <td colspan=3 style="width: 10%"><input class="form-control" disabled="disabled" /></td>                            <td><label class="control-label" style="margin-left: 20px">第二副诊断：</label></td>                            <td><input class="form-control" disabled="disabled" /></td>                            <td></td>                            <td></td>                        </tr>                    </table>                </fieldset>            </div>            <div class="col-sm-12">                <fieldset>                    <legend>医保详情</legend>                    <div id="itemList" style="margin-top: 5px;height:300px"></div>                </fieldset>            </div>            <div class="col-sm-12">                <fieldset>                    <legend>费用信息</legend>                    <table>                        <tr>                            <td><label class="control-label">总计费用：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.Total" /></td>                            <td><label class="control-label" style="margin-left: 20px">统筹支付：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.TcPay" /></td>                            <td><label class="control-label" style="margin-left: 20px">医院支付：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.HopitalPay" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label">现金支付：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.CashPay" /></td>                            <td><label class="control-label" style="margin-left: 20px">公务员补助：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.GwyCost" /></td>                            <td><label class="control-label" style="margin-left: 20px">公务员特补：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.GwydCost" /></td>                        </tr>                        <tr style="height: 5px"></tr>                        <tr>                            <td><label class="control-label">大病支付：</label></td>                            <td><input type="text" class="form-control" disabled="disabled" ng-model="preSettlementInfo.DbPay" /></td>                            <td></td>                            <td></td>                            <td></td>                            <td></td>                        </tr>                    </table>                    <div></div>                </fieldset>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button class="btn btn-primary ares-btn-blue" ng-click="confirm()">确定</button>        <button class="btn btn-default" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/dialogs/yibao-print-offset-count-dialog/yibao-print-offset-count-dialog-view.html','<div ares-modal-dragable id="yibao-print-offset">    <style>        #yibao-print-offset .align-center {            text-align:center;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">医保登折偏移行数</h4>    </div>    <div class="modal-body ares-dialog-body">        <label>偏移行数：</label><input kendo-numeric-text-box k-min="0" k-max="26" k-options="{format: \'#\', decimals:0}" ng-model="rowOffset" />    </div>    <div class="modal-footer ares-dialog-footer align-center">        <button type="button" class="btn btn-primary" ng-click="confirm()">确定</button>        <button type="button" class="btn btn-default" ng-click="close()">关闭</button>    </div></div>');templateCache.put('/app/charge/views/charge-edit-batch-overdue-order-view.html','<div class="charge-edit-batch-overdue-wrap charge-order-handle-wrap">    <div class="charge-order-handle">        <div class="panel-body charge-order-body">            <div class="charge-order-action-group">                <charge-batch-overdue-receivable-info-view src-overdue-source-order-price-handle-list="batchOverdueOrderPriceHandle.srcOverdueSourceOrderPriceHandleList"                                                           repay-overdue-source-order-price-handle-list="batchOverdueOrderPriceHandle.repayOverdueSourceOrderPriceHandleList"                                                           batch-overdue-order-price-handle="batchOverdueOrderPriceHandle"                                                           batch-overdue-order-event-info="batchOverdueOrderEventInfo"></charge-batch-overdue-receivable-info-view>            </div>            <div class="charge-order-action-group">                <charge-order-payment-info-view charge-order-price-handle="batchOverdueOrderPriceHandle"                                                charge-order-event-info="batchOverdueOrderEventInfo"                                                membership-assist="membershipAssist"                                                patient-assist="patientAssist"></charge-order-payment-info-view>            </div>            <div class="charge-order-action-group">                <charge-order-extend-info-view charge-order-price-handle="batchOverdueOrderPriceHandle"                                               charge-order-event-info="batchOverdueOrderEventInfo"                                               appointment-assist="appointmentAssist"                                               membership-assist="membershipAssist"                                               free-field-assist="freeFieldAssist"                                               patient-assist="patientAssist"></charge-order-extend-info-view>            </div>            <div class="charge-order-action-group">                <charge-workflow-info-view charge-order-price-handle="batchOverdueOrderPriceHandle"                                           charge-order-event-info="batchOverdueOrderEventInfo"></charge-workflow-info-view>            </div>            <div class="charge-order-action-group" ng-if="!isShangbaoOrder">                <charge-order-last-action-info-view charge-order-price-handle="batchOverdueOrderPriceHandle"                                                    charge-order-event-info="batchOverdueOrderEventInfo"                                                    is-afresh-workflow="isAfreshWorkflow"></charge-order-last-action-info-view>            </div>            <div class="charge-order-action-group" ng-if="isShangbaoOrder">                <charge-shangbao-gateway-last-action-view insurance-last-action-info="insuranceLastActionInfo"                                                          order-event-info="batchOverdueOrderEventInfo">                </charge-shangbao-gateway-last-action-view>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-edit-shangbao-order-view.html','<div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">    <div class="charge-item-tree-wrap col-md-3" ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree">        <charge-item-select-tree-view item-type="chargeItemType"                                      charge-order-event-info="sourceOrderEventInfo"                                      on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"></charge-item-select-tree-view>    </div>    <div class="charge-order-handle" ng-class="chargeOrderPriceHandle.isBilled() || isHideChargeItemTree?\'col-md-12\':\'col-md-9\'">        <div class="panel panel-primary charge-panel">            <div class="panel-heading clearfix charge-order-header charge-panel-heading">                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree"                        ng-click="hideChargeItemTree()"                        title="隐藏列表">                    <span class="glyphicon glyphicon-chevron-left"></span>                </button>                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||!isHideChargeItemTree"                        ng-click="showChargeItemTree()"                        title="显示列表">                    <span class="glyphicon glyphicon-chevron-right"></span>                </button>                <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"></charge-item-combo-box-view>                <div class="print-preview" ng-show="!chargeOrderPriceHandle.isBilled()">                    <button class="btn btn-default"                            ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                            ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                        保存并划价预览                    </button>                </div>            </div>            <div class="panel-body charge-order-body">                <div class="charge-order-action-group">                    <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"                                                       shangbao-charge-handler-center="shangbaoChargeHandlerCenter"></charge-order-receivable-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                    charge-order-event-info="sourceOrderEventInfo"                                                    membership-assist="membershipAssist"                                                    patient-assist="patientAssist"></charge-order-payment-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"                                                   appointment-assist="appointmentAssist"                                                   membership-assist="membershipAssist"                                                   patient-assist="patientAssist"></charge-order-extend-info-view>                </div>                <div class="charge-order-action-group">                    <charge-shangbao-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                                 charge-order-event-info="sourceOrderEventInfo"                                                                 shangbao-charge-handler-center="shangbaoChargeHandlerCenter"></charge-shangbao-order-last-action-info-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-edit-source-order-view.html','<div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">    <div class="charge-item-tree-wrap col-md-3" ng-hide="!sourceOrderEventInfo.orderEventOption.isShowChargeItemSrcList()||isHideChargeItemTree">        <charge-item-select-tree-view item-type="chargeOrderPriceHandle.orderType"                                      is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"                                      charge-order-event-info="sourceOrderEventInfo"                                      charge-detail-type="chargeOrderPriceHandle.currentChargeDetailType"                                      on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"                                      focus-to-body="focusToBody"                                      gateway-insurance-assist="gatewayInsuranceAssist"></charge-item-select-tree-view>    </div>    <div class="charge-order-handle" ng-class="!sourceOrderEventInfo.orderEventOption.isShowChargeItemSrcList() || isHideChargeItemTree ? \'col-md-12\' : \'col-md-9\'">        <div class="panel panel-primary charge-panel">            <div class="panel-heading clearfix charge-order-header charge-panel-heading"                 ng-show="sourceOrderEventInfo.orderEventOption.isShowChargeOrderHeader()">                <button class="lc-btn lc-btn-default"                        ng-hide="!sourceOrderEventInfo.orderEventOption.isShowChargeItemSrcList()||isHideChargeItemTree"                        ng-click="hideChargeItemTree()"                        title="隐藏列表">                    <span class="glyphicon glyphicon-chevron-left"></span>                </button>                <button class="lc-btn lc-btn-default"                        ng-hide="!sourceOrderEventInfo.orderEventOption.isShowChargeItemSrcList()||!isHideChargeItemTree"                        ng-click="showChargeItemTree()"                        title="显示列表">                    <span class="glyphicon glyphicon-chevron-right"></span>                </button>                <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"                                            gateway-insurance-assist="gatewayInsuranceAssist"></charge-item-combo-box-view>                <div class="print-preview"                      ng-hide="chargeOrderPriceHandle.isBilled() || !sourceOrderEventInfo.orderEventOption.allowEditFull()">                    <button class="lc-btn lc-btn-default" ares-show="isDetailCharge"                            ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                            ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                        保存并划价预览                    </button>                    <charge-apply-type-combo-box-view current-charge-type="currentChargeType"                                                      order-action-type="orderActionType"                                                      patient-assist="patientAssist"></charge-apply-type-combo-box-view>                </div>            </div>            <div class="panel-body charge-order-body">                <div class="charge-order-action-group">                    <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"></charge-order-receivable-info-view>                </div>                <div class="charge-order-action-group" ng-show="sourceOrderEventInfo.orderEventOption.isShowChargeOrderGiftCertificate()">                    <charge-order-gift-certificate-action-view charge-order-price-handle="chargeOrderPriceHandle"                                                               charge-order-event-info="sourceOrderEventInfo"                                                               membership-assist="membershipAssist"                                                               patient-assist="patientAssist"                                                               on-patient-gift-certificate-changed="onPatientGiftCertificateChanged"></charge-order-gift-certificate-action-view>                </div>                <div class="charge-order-action-group">                    <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                    charge-order-event-info="sourceOrderEventInfo"                                                    membership-assist="membershipAssist"                                                    patient-assist="patientAssist"></charge-order-payment-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"                                                   appointment-assist="appointmentAssist"                                                   membership-assist="membershipAssist"                                                   patient-assist="patientAssist"                                                   free-field-assist="freeFieldAssist"                                                   invoice-assist="invoiceAssist"                                                   yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                </div>                <div class="charge-order-action-group" ng-if="!isShangbaoOrder && !isYibaoOrder">                    <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"                                                        refersh-patient-gift-certificate="refershPatientGiftCertificate"                                                        is-afresh-workflow="isAfreshWorkflow"></charge-order-last-action-info-view>                </div>                <div class="charge-order-action-group" ng-if="isYibaoOrder">                    <charge-yibao-order-last-action-info-gateway-view charge-order-price-handle="chargeOrderPriceHandle"                                                                      charge-order-event-info="sourceOrderEventInfo"                                                                      yibao-charge-handler-center="yibaoChargeHenderCenter">                    </charge-yibao-order-last-action-info-gateway-view>                </div>                <div class="charge-order-action-group" ng-if="isShangbaoOrder">                    <charge-new-shangbao-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                                     charge-order-event-info="sourceOrderEventInfo"                                                                     yibao-charge-handler-center="yibaoChargeHenderCenter">                    </charge-new-shangbao-order-last-action-info-view>                </div>            </div>        </div>    </div>    <charge-advance-description-flyout-host></charge-advance-description-flyout-host></div>');templateCache.put('/app/charge/views/charge-items-execution-view.html','<div class="charge-items-execution-list-wrap">    <style>        .charge-items-execution-list-wrap .font-red {            color: red;        }        .charge-items-execution-list-wrap .font-green {            color: green;        }        .charge-items-execution-list-wrap .font-orange {            color: #f7a51d;        }        .charge-items-execution-list-wrap .hover-with-pointer:hover {            cursor: pointer;            color: #00a6c9;        }        .charge-items-execution-list-wrap .deduction-list {            font-family: PingFangSC-Regular;        }            .charge-items-execution-list-wrap .deduction-list .deduction-head {                font-family: SourceHanSansCN-Bold;                font-weight: bold;                font-size: 20px;                color: #575d6a;                letter-spacing: 0;                padding-left: 5px;            }            .charge-items-execution-list-wrap .deduction-list .head-sign {                height: 20px;                width: 6px;                background-color: #00a6c9;                display: inline-block;                border-radius: 2px;                margin-bottom: -3px;            }        .charge-items-execution-list-wrap .summary-part {            display: inline-block;            font-size: 14px;            color: #575d6a;        }            .charge-items-execution-list-wrap .summary-part span {                margin-right: 20px;            }                .charge-items-execution-list-wrap .summary-part span:last-child {                    margin-right: 0px;                }    </style>    <div ng-show="executionListInited&&executingExecutionLlist.length==0&&finishedExecutionLlist.length==0">        <h4 style="color:#9397a2;width:100%;text-align:center;padding-top:100px;">该患者目前没有划扣执行记录</h4>    </div>    <div class="deduction-list" id="executing-list" ng-show="executingExecutionLlist.length>0">        <div class="deduction-head">            <span class="head-sign"></span>            <span>执行中</span>        </div>        <div ng-repeat="execution in executingExecutionLlist">            <charge-deduction-detail-view toggled="false"                                          charge-item-execution="execution"                                          allow-deduction-man-hours="allowDeductionManHours"                                          update-execution-lists="updateExecutionLists"></charge-deduction-detail-view>        </div>    </div>    <div class="deduction-list" id="finished-list" ng-show="finishedExecutionLlist.length>0" style="margin-top:30px;">        <div class="deduction-head">            <span class="head-sign"></span>            <span>已结束</span>        </div>        <div ng-repeat="execution in finishedExecutionLlist">            <charge-deduction-detail-view toggled="true"                                          charge-item-execution="execution"                                          allow-deduction-man-hours="allowDeductionManHours"                                          update-execution-lists="updateExecutionLists"></charge-deduction-detail-view>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-patient-view.html','<div>    <style scoped>        .charge-handle-nav {            height: 38px;            margin: 10px 0;            width: 100%;            font-size: 0;        }            .charge-handle-nav .lc-btn-default[disabled] {                color: #333;                background-color: #e6e6e6;                border-color: #adadad;                box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);                filter: alpha(opacity=100);                opacity: 1;            }            .charge-handle-nav .charge-record-info {                display: inline-block;                height: 38px;                vertical-align: middle;                text-align: left;                width: 50%;                font-size: 14px;                padding: 3px 0;                box-sizing: border-box;            }                .charge-handle-nav .charge-record-info .btn {                    display: inline-block;                    vertical-align: middle;                }            .charge-handle-nav .charge-order-handle {                display: inline-block;                height: 38px;                vertical-align: middle;                text-align: right;                width: 50%;                font-size: 14px;            }                .charge-handle-nav .charge-order-handle .division-line {                    display: inline-block;                    height: 38px;                    width: 1px;                    background-color: #ccc;                    vertical-align: middle;                    margin: 0 6px;                }                    .charge-handle-nav .charge-order-handle .division-line:last-child {                        display: none;                    }                .charge-handle-nav .charge-order-handle .btn {                    display: inline-block;                    vertical-align: middle;                }            .charge-handle-nav .charge-record-info .execution-records-filter {                display: inline-block;                margin-left: 10px;            }        .charge-handle-price {            height: 90px;            margin-top: 8px;            padding: 8px;            box-shadow: 1px 1px 1px 1px #F5F5F5;        }            .charge-handle-price .item-title {                font-weight: normal;                font-size: 13px;            }            .charge-handle-price .item-content {                font-weight: normal;                font-size: 14px;                font-weight: bold;            }            .charge-handle-price .item-warn {                color: red;            }            .charge-handle-price .price-block {                float: left;                padding-left: 10px;                height: 100%;            }                .charge-handle-price .price-block .block-wrapper {                    width: 90px;                    padding: 0px 5px;                }                .charge-handle-price .price-block .block-wrapper-sm {                    width: 50px;                    padding: 0px 5px;                }                .charge-handle-price .price-block .block-title {                    font-size: 16px;                    font-weight: bold;                }                .charge-handle-price .price-block .block-title-bottom {                    width: 20px;                    height: 2px;                    border-bottom: 2px solid rgb(0, 168, 203);                    margin: 5px 0px 10px 0px;                }            .charge-handle-price .border-right {                border-right: 1px solid #dedede;            }    </style>    <div class="charge-handle-price" ng-show="isShowPatinetPrice">        <div class="price-block border-right">            <div class="block-title">                消费概览            </div>            <div class="block-title-bottom"></div>            <div class="row">                <div class="form-group pull-left border-right block-wrapper">                    <label class="item-title">开单应收</label><br />                    <label class="item-content">{{ chargeSummary.strTotalPlanPrice }}</label>                </div>                <div class="form-group pull-left border-right block-wrapper">                    <label class="item-title">消费总额</label><br />                    <label class="item-content">{{ chargeSummary.strTotalIncomePrice }}</label>                </div>                <div class="form-group pull-left block-wrapper">                    <label class="item-title">总欠费</label><br />                    <label class="item-content item-warn">{{ chargeSummary.strTotalOverdue }}</label>                </div>            </div>        </div>        <div class="price-block border-right" ng-if="isShowDeduction">            <div class="block-title">                诊疗项目            </div>            <div class="block-title-bottom"></div>            <div class="row">                <div ng-if="isShowDeduction" ng-class="isAdvanceChargeEnabled?\'form-group pull-left block-wrapper border-right\':\'form-group pull-left block-wrapper\'">                    <label class="item-title">预收款</label><br />                    <label class="item-content">{{ chargeSummary.strTotalAdvacePrice }}</label>                </div>                <div class="form-group pull-left block-wrapper" ng-if="isAdvanceChargeEnabled">                    <label class="item-title">方案尾款</label><br />                    <label class="item-content">{{ chargeSummary.strTotalAdvanceOverdue }}</label>                </div>            </div>        </div>        <div class="price-block border-right">            <div class="block-title">                账户余额            </div>            <div class="block-title-bottom"></div>            <div class="row">                <div ng-class="isGiftCertificateEnabled?\'form-group pull-left block-wrapper border-right\':\'form-group pull-left block-wrapper\'">                    <label class="item-title">储值卡</label><br />                    <label class="item-content">{{ chargeSummary.strAdvancePaymentBalance }}</label>                </div>                <div class="form-group pull-left block-wrapper" ng-if="isGiftCertificateEnabled">                    <label class="item-title">现金券</label><br />                    <label class="item-content">{{ chargeSummary.strCashGiftCertificateLeftAmount }}</label>                </div>            </div>        </div>        <div class="price-block" ng-if="isGiftCertificateEnabled || isMembershipPointEnabled">            <div class="block-title">                卡券积分            </div>            <div class="block-title-bottom"></div>            <div class="row">                <div class="form-group pull-left block-wrapper border-right" ng-if="isMembershipPointEnabled">                    <label class="item-title">积分</label><br />                    <label class="item-content">{{ chargeSummary.point }}</label>                </div>                <div class="form-group pull-left border-right block-wrapper-sm" ng-if="isGiftCertificateEnabled">                    <label class="item-title">套餐券</label><br />                    <label class="item-content">{{ chargeSummary.comboGiftCertificateLeftCount }}</label>                </div>                <div class="form-group pull-left block-wrapper-sm" ng-if="isGiftCertificateEnabled">                    <label class="item-title">折扣券</label><br />                    <label class="item-content">{{ chargeSummary.discountGiftCertificateLeftCount }}</label>                </div>            </div>        </div>    </div>    <div class="charge-handle-nav" style="clear:both;">        <div class="charge-record-info">            <div class="lc-btn-group">                <button type="button" class="lc-btn lc-btn-default btn-charge"                        ares-authorize="patientCharge.history"                        ng-disabled="currentView==\'orderRecords\'"                        ng-click="switchStateByPatientId(\'patientCharge.orderRecords\')">                    账单记录                </button>                <button type="button" class="lc-btn lc-btn-default btn-charge"                        ares-authorize="patientCharge.history"                        ng-disabled="currentView==\'paymentRecords\'"                        ng-click="switchStateByPatientId(\'patientCharge.paymentRecords\')">                    支付记录                </button>                <button type="button" class="lc-btn lc-btn-default btn-charge"                        ares-authorize="patientCharge.history"                        ng-click="showYibaoPatientInfo()" ng-if="isShowYibao">                    医保查询                </button>                <button type="button" class="lc-btn lc-btn-default btn-charge"                        ares-authorize="patientCharge.history"                        ng-disabled="currentView==\'executionRecords\'"                        ng-click="openExecutionRecordsState()"                        ng-if="isShowDeduction">                    执行记录                </button>            </div>            <div class="execution-records-filter" ng-show="currentView==\'executionRecords\'">                <ares-switch on-label="执行中"                             off-label="已结束"                             value="isExecutingDeduction"                             on-change="onSwitchExecutionRecordsFilter(value)"></ares-switch>            </div>        </div>        <div class="charge-order-handle">            <div class="lc-btn-group" ng-if="(isCheckedInToday && isStrongStrict) || !isStrongStrict">                <button type="button" class="lc-btn lc-btn-default btn-charge" ares-not-archive                        ares-authorize="patientCharge.create"                        ng-disabled="currentView==\'createSourceOrder\' && !isFromShangbao"                        ng-click="gotoCreateChargeOrder(\'create\')">                    新建账单                </button>                <button type="button" class="lc-btn lc-btn-default btn-charge" ares-not-archive                        ares-authorize="patientCharge.create"                        ng-disabled="currentView==\'createSourceOrder\' && isFromShangbao"                        sensors-enabled="true" sensors-event-name="ChargePatient" sensors-event-type="商保收费"                        ng-click="gotoCreateChargeOrder(\'create\', true)" ng-if="isShowShangbao">                    商保收费                </button>                <button type="button" class="lc-btn lc-btn-default btn-charge" ares-not-archive                        ares-authorize="patientCharge.create"                        ng-disabled="currentView==\'createYibaoOrder\'"                        sensors-enabled="true" sensors-event-name="ChargePatient" sensors-event-type="医保收费"                        ng-click="gotoCreateYibaoChargeOrder()" ng-if="isShowYibao">                    医保收费                </button>            </div>            <div class="division-line" ng-if="(isCheckedInToday && isStrongStrict) || !isStrongStrict"                 ares-authorize="patientCharge.create"></div>            <button type="button" class="lc-btn lc-btn-default btn-charge"                    ares-authorize="patientCharge.createPayOverdue"                    ng-disabled="currentView==\'batchOverdue\'"                    sensors-enabled="true" sensors-event-name="ChargePatient" sensors-event-type="收欠费"                    ng-click="gotoCreateBatchRepayOrder()" ares-not-archive>                收欠费            </button>        </div>    </div>    <div ui-view></div>    <product-flyout-host></product-flyout-host>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/charge/views/charge-print-history-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <div>            <table style="width:100%;padding-left: 10px; padding-bottom: 10px; margin-bottom: 15px;">                <tr>                    <td style="width: 50px;">                        <label id="queryByTimespan">时间段</label>                    </td>                    <td style="width: 130px;padding-left: 10px;">                        <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;" ng-disabled="!queryByTimespan">                    </td>                    <td style="padding-left: 5px;width: 20px;" ng-hide="defaultSelect">-</td>                    <td style="width: 130px; " ng-hide="defaultSelect">                        <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; " ng-disabled="!queryByTimespan">                    </td>                    <td style="width: 100px;">                        <button type="button" class="btn btn-default" ng-click="query(\'self\')" style="margin-left:10px;">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                    </td>                    <td style="border-left: 1px">                        <button class="btn btn-primary ares-btn-blue" ng-click="query(\'3m\')">三个月</button>                        <button class="btn btn-primary ares-btn-blue" ng-click="query(\'6m\')">六个月</button>                        <button class="btn btn-primary ares-btn-blue" ng-click="query(\'all\')">全部</button>                    </td>                </tr>            </table>        </div>        <div id="chargeOrderList" class="ares-data-table" style="margin-top:5px"></div>    </div>    <div class="modal-footer ares-dialog-footer" style="height: 50px;">        <div>            <table style="width:100%;">                <tbody>                    <tr>                        <td width="100%" align="center" style="vertical-align: middle;">                            <button class="btn btn-primary ares-btn-blue" print-div="{{templateType}}" ng-disabled="addChargeOrderIds.length==0">                                <span class="glyphicon glyphicon-print" aria-hidden="true"></span> 打印                            </button>                            <button class="btn btn-default" ng-click="cancel()"> 关闭</button>                        </td>                    </tr>                </tbody>            </table>        </div>    </div>    <notification-upload-success></notification-upload-success>    <div id="A4HistoryTemplateDetail" style="display: none;">        <style scoped>            .titleFont {                font-size: 10px;                font-family: SimHei;            }            .boldFont {                font-weight: bolder;                font-family: SimHei;            }        </style>        <div id="templateBody" style="font-size: smaller; padding: 0 130px 0 10px; width: 90%;" ng-style="{\'margin\':templateStyle}">            <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}.历史账单明细</div>            <div style="border-bottom: 3px solid black;">                <table style="width: 100%;">                    <tr>                        <td class="titleFont" width="45%"><span class="boldFont">姓  名 </span>{{selectedOrder.patientName}}</td>                        <td class="titleFont" width="35%"><span class="boldFont">病历号 </span>{{selectedOrder.privateId}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="20%"><span class="boldFont">打印时间 </span>{{selectedOrder.date|toLongDateTimeString}}</td>                    </tr>                </table>            </div>            <div style="width: 98%">                <table style="width: 100%">                    <thead style="border-bottom: 1px solid black;">                        <tr>                            <th width="25%" style="text-align: left; font-weight: bolder;" class="titleFont">挂号时间</th>                            <th width="35%" style="text-align: left; font-weight: bolder;" class="titleFont">项目明细</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">单价</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">数量</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">金额</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">折后金额</th>                        </tr>                    </thead>                    <tbody style="width: 100%; border-bottom: 1px solid black;">                        <tr ng-repeat="item in selectedOrder.detailList">                            <td widtd="25%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.checkInDate}}</td>                            <td widtd="35%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.itemName}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.price}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.count}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.actualPrice}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.discountPrice}}</td>                        </tr>                    </tbody>                </table>            </div>            <div style="width: 100%; border-bottom: 3px solid black;"></div>            <div style="width: 100%">                <table style="float: right">                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">应收合计: </span>{{priceToFixed(selectedOrder.finalPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">实收合计: </span>{{priceToFixed(selectedOrder.actualPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">欠款合计: </span>{{priceToFixed(selectedOrder.overdue)}}</td>                    </tr>                </table>            </div>        </div>    </div>    <div id="A4HistoryTemplateRecord" style="display: none;">        <style scoped>            .titleFont {                font-size: 10px;                font-family: SimHei;            }            .boldFont {                font-weight: bolder;                font-family: SimHei;            }            .fontsize {                font-size: 14px;            }        </style>        <div id="templateBody" style="font-size:smaller;padding:0 130px 0 10px; width:90%;" ng-style="{\'margin\':templateStyle}">            <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}.历史账单记录</div>            <div style="border-bottom:3px solid black;">                <table style="width:100%;">                    <tr>                        <td class="titleFont" width="45%"><span class="boldFont">姓  名 </span>{{selectedOrder.patientName}}</td>                        <td class="titleFont" width="35%"><span class="boldFont">病历号 </span>{{selectedOrder.privateId}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="20%"><span class="boldFont">打印时间 </span>{{selectedOrder.date|toLongDateTimeString}}</td>                    </tr>                </table>            </div>            <div style="width:98%">                <table style="width:100%">                    <thead style="border-bottom: 1px solid black;">                        <tr>                            <th width="25%" style="text-align:left;font-weight:bolder;" class="titleFont">就诊时间</th>                            <th width="25%" style="text-align:left;font-weight:bolder;" class="titleFont">收款时间</th>                            <th width="10%" style="text-align:left;font-weight:bolder;" class="titleFont">操作诊所</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">医生</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">原价</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">优惠</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">应收</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">实收</th>                        </tr>                    </thead>                    <tbody style="width: 100%; border-bottom: 1px solid black;">                        <tr ng-repeat="item in selectedOrder.chargeOrderHistory">                            <td widtd="25%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.visitTime}}</td>                            <td widtd="25%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont">{{item.payDateTime|toDateTimeString}}</td>                            <td widtd="10%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.officeName}}</td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.doctorName}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.planPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.discountPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.planPrice-item.discountPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont">{{item.actualPrice}}</td>                        </tr>                    </tbody>                </table>            </div>            <div style="width: 100%; border-bottom: 3px solid black;"></div>            <div style="width: 100%">                <table style="float: right">                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">应收合计: </span>{{priceToFixed(selectedOrder.finalPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">实收合计: </span>{{priceToFixed(selectedOrder.actualPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">欠款合计: </span>{{priceToFixed(selectedOrder.overdue)}}</td>                    </tr>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-records-billed-order-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <td style="width:190px"><h1 style="margin:0">已收费</h1></td>                <td style="padding-left: 10px; padding-right: 10px;">                    <select id="chargedTodayInput" class="not-ignore" ng-model="criteria.range" kendo-drop-down-list style=" width:100px">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td ng-show="criteria.range==\'自定义\'" style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td ng-show="criteria.range==\'自定义\'" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td ng-show="criteria.range==\'自定义\'" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px;">收银员</td>                <td style="width:100px">                    <!--<input id="payeeInput" ng-model="criteria.pid" type="text" class="form-control" style="width:100px">-->                    <provider-search-dropdown search-place-holder="选择收银员" other-data-source="defaultPayeeSource" search-job="收费人" selected-provider-id="criteria.pid">                    </provider-search-dropdown>                </td>                <td>                    <button type="button" class="btn btn-default" ng-click="searchOrders()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>            </tr>        </table>    </div>    <script id="chargeOrdertemplate" type="text/x-kendo-template">        <a href="javascript:void(0)" onclick="ChargedPatientCtrl_goToPatient(this)">#: patientName #</a>    </script>    <div id="patientList" kendo-grid k-options="gridOption">        <h2 ng-show="!totalCount" style="position: absolute;top: 40px;left: 10px;font-size:24px;">没有找到符合条件的患者</h2>    </div>        <patient-flyout-host></patient-flyout-host></div>');templateCache.put('/app/charge/views/charge-records-execution-view.html','<div class="charge-records-execution-list-wrap" ares-clean-kendo ares-patient-container ares-msg-host>    <div ng-show="!deductionExecutionDetailList || deductionExecutionDetailList.length === 0">        <h4 style="color:#9397a2;width:100%;text-align:center;padding-top:100px;">该患者目前没有划扣执行记录</h4>    </div>    <div ng-repeat="deductionExecutionDetail in deductionExecutionDetailList">        <charge-deduction-detail-view deduction-execution-charge-detail="deductionExecutionDetail"                                      on-change-execution-detail="onChangeExecutionDetail(deductionExecutionDetail, isFullFinish, isOverdueChange)"></charge-deduction-detail-view>    </div></div>');templateCache.put('/app/charge/views/charge-records-order-view.html','<div class="ares-main-content" id="charge-record-order-list" ares-clean-kendo ares-patient-container ares-msg-host>    <style>        .no-bill-charge-records {            margin: 10px 0 25px 0;        }        .bill-charge-order-paging {        }        #charge-record-order-list .charge-scenario-drop-down-list {            width: 150px;        }    </style>    <div class="no-bill-charge-records" ng-hide="!isShowHead">        <div class="charge-records-header">            <i class="header-icon icon-subject">!</i>            <span class="records-header-title">待处理</span>        </div>        <div id="nochargeorder" class="ares-data-table"></div>    </div>    <div class="bill-charge-order-paging">        <div class="charge-records-header">            <div class="pull-left">                <i class="header-icon icon-subject">¥</i>                <span class="records-header-title">已收费</span>                <div class="charge-records-filter">                    <label class="records-filter-block">                        <input type="checkbox" ng-model="filter.hasSquare" ng-change="onFilterChargeOrderRecords()">                        <span>结清</span>                    </label>                    <label class="records-filter-block">                        <input type="checkbox" ng-model="filter.hasRefund" ng-change="onFilterChargeOrderRecords()">                        <span>退费</span>                    </label>                    <label class="records-filter-block">                        <input type="checkbox" ng-model="filter.hasCancel" ng-change="onFilterChargeOrderRecords()">                        <span>作废</span>                    </label>                    <label class="records-filter-block">                        <input type="checkbox" ng-model="filter.hasOverdue" ng-change="onFilterChargeOrderRecords()">                        <span>欠费</span>                    </label>                </div>                <div class="charge-records-statistics " ng-show="chargeScenarioSource">                    <div class="item">                        <label class="item-title" style="vertical-align:middle;">                            账单类型：                        </label>                        <base-drop-down-list-view class="charge-scenario-drop-down-list"                                                  text-field="name"                                                  value-field="value"                                                  bind-value-field="filterScenario"                                                  bind-data-source="chargeScenarioSource"                                                  drop-down-list-option="filterScenarioDropDownListOption">                        </base-drop-down-list-view>                    </div>                </div>            </div>            <div class="charge-records-print pull-right">                <div class="lc-btn-group" ares-not-archive>                    <button type="button" class="lc-btn lc-btn-default default-btn"                            ng-click="printHistoryChargeOrder(\'Detail\')">                        打印历史账单明细                    </button>                    <button type="button" class="lc-btn lc-btn-default dropdown-toggle" data-toggle="dropdown">                        <span class="caret"></span>                        <span class="sr-only">Toggle Dropdown</span>                    </button>                    <ul class="dropdown-menu command-list">                        <li>                            <a href="" ng-click="printHistoryChargeOrder(\'Record\')">打印历史账单记录</a>                        </li>                    </ul>                </div>            </div>        </div>        <h4 ng-if="!chargeorderPaging.totalCount || chargeorderPaging.totalCount < 1">无记录</h4>        <div id="chargeOrderContainer" ng-show="chargeorderPaging.totalCount > 0">            <div id="chargeorderPaging" style="width:100%" class="ares-data-table"></div>        </div>        <div ng-show="chargeorderPaging.pageCount > 1 && !isShowOverdueCharge" style="text-align:center">            <div pagination                 total-items="chargeorderPaging.totalCount"                 items-per-page="chargeorderPaging.pageSize"                 ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                 max-size="maxPageCount"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true"></div>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-records-payment-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container ares-msg-host>    <style scoped>        h4 {            margin: 25px 0;        }        .charge-payment-records-header . {        }    </style>    <div class="charge-payment-records">        <div class="charge-records-header">            <i class="header-icon icon-subject">¥</i>            <div class="records-header-title">支付记录</div>            <!--<div class="charge-records-statistics">                <div class="item pull-left">                    <label class="item-title">实收总额</label>                    <label class="item-content">{{ chargeInfo.totalActualPriceStr }}</label>                </div>                <div class="item pull-left">                    <label class="item-title">欠费总额</label>                    <label class="item-content overdue-text">{{ chargeInfo.totalOverdueStr }}</label>                </div>            </div>-->        </div>        <!--<h2 ng-show="!isShowHead">当前没有支付记录</h2>-->        <div style=" overflow-x: auto;">            <div id="payRecordPaging" class="ares-data-table"></div>        </div>        <div ng-show="payRecordPaging.pageCount > 1" style="text-align:center">            <div pagination                 total-items="payRecordPaging.totalCount"                 items-per-page="payRecordPaging.pageSize"                 ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                 max-size="maxPageCount"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true"></div>        </div>    </div></div>');templateCache.put('/app/charge/views/charge-records-unbilled-order-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <td style="width:120px"><h1 style="margin:0">待收费</h1></td>                <td style="padding-left: 10px; padding-right: 10px;">                    <select id="unchargedTodayInput" class="not-ignore" ng-model="criteria.range"                            kendo-drop-down-list style=" width:100px">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td ng-show="criteria.range==\'自定义\'" style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td ng-show="criteria.range==\'自定义\'" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td ng-show="criteria.range==\'自定义\'" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td>                    <input class="form-control" style="width:180px" id="filter" placeholder="患者/拼音/手机/病历号"                           ng-model="criteria.patientSearchText" ng-change="toggleStateSelection()" />                </td>                <td style="width: 50px; padding-left: 2px; padding-right: 2px; ">                    <a class="btn btn-default" ng-click="refresh()">查询</a>                </td>            </tr>        </table>    </div>    <script id="unchargeOrdertemplate" type="text/x-kendo-template">        <a href="" onclick="UnchargedPatientCtrl_goToPatient(this)">#: patientName #</a>    </script>    <div style="margin-top:10px;" id="patientList" kendo-grid k-options="gridOption" ares-auto-tooltip-grid="unchargeAppts">        <h2 ng-show="!hasPatient" style="position: absolute;top: 40px;left: 10px;font-size:24px;">没有找到符合条件的患者</h2>    </div>    <div style="width: 100%;margin-top:10px;" ng-show="hasPatient">        <div style="text-align: center;">            <div pagination                 total-items="unchargeOrders.totalCount"                 items-per-page="unchargeOrders.pageSize"                 ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                 max-size="15"                 first-text="第一页"                 previous-text="前一页"                 next-text="后一页"                 last-text="最后一页"                 rotate="true"                 class="pagination" boundary-links="true" style="margin:0;height:36px;"></div>            <ul class="pagination" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="refresh(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0"><li class="disabled"><a style="height:36px;">共{{unchargeOrders.totalCount}}条</a></li></ul>        </div>    </div>    <notification-upload-success></notification-upload-success>    <patient-flyout-host></patient-flyout-host></div>');templateCache.put('/app/charge/views/yibao/charge-edit-yibao-order-cs-view.html','<div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">    <div class="charge-item-tree-wrap col-md-3" ng-hide="isHideChargeItemTree">        <charge-item-select-tree-view item-type="chargeItemType"                                      charge-order-event-info="sourceOrderEventInfo"                                      on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"></charge-item-select-tree-view>    </div>    <div class="charge-order-handle" ng-class="isHideChargeItemTree?\'col-md-12\':\'col-md-9\'">        <div class="panel panel-primary charge-panel">            <div class="panel-heading clearfix charge-order-header charge-panel-heading">                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree"                        ng-click="hideChargeItemTree()"                        title="隐藏列表">                    <span class="glyphicon glyphicon-chevron-left"></span>                </button>                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||!isHideChargeItemTree"                        ng-click="showChargeItemTree()"                        title="显示列表">                    <span class="glyphicon glyphicon-chevron-right"></span>                </button>                <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"></charge-item-combo-box-view>                <div class="print-preview" ng-show="!chargeOrderPriceHandle.isBilled()">                    <button class="btn btn-default"                            ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                            ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                        保存并划价预览                    </button>                </div>            </div>            <div class="panel-body charge-order-body">                <div class="charge-order-action-group">                    <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"></charge-order-receivable-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                    charge-order-event-info="sourceOrderEventInfo"                                                    membership-assist="membershipAssist"                                                    patient-assist="patientAssist"></charge-order-payment-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"                                                   appointment-assist="appointmentAssist"                                                   membership-assist="membershipAssist"                                                   patient-assist="patientAssist"></charge-order-extend-info-view>                </div>                <div class="charge-order-action-group" ng-if="chargeOrderPriceHandle.isBilled()">                    <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"></charge-order-last-actoin-info-view>                </div>                <div class="charge-order-action-group" ng-if="!chargeOrderPriceHandle.isBilled()">                    <charge-yibao-order-last-action-info-cs-view charge-order-price-handle="chargeOrderPriceHandle"                                                                 charge-order-event-info="sourceOrderEventInfo"                                                                 yibao-charge-handler-center="yibaoChargeHenderCenter"></charge-yibao-order-last-action-info-cs-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/yibao/charge-edit-yibao-order-gdgz-view.html','<div class="ares-main-content charge-order-handle-wrap" id="yibaoGdgzView" style="margin-left:0;margin-right:0">    <div>        <div class="charge-item-tree-wrap col-md-3"             ng-show="!isHideChargeItemTree"             ng-cloak>            <charge-item-select-tree-view item-type="chargeItemType"                                          charge-order-event-info="sourceOrderEventInfo"                                          on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"></charge-item-select-tree-view>        </div>        <div class="charge-order-handle"             ng-class="isHideChargeItemTree?\'col-md-12\':\'col-md-9\'"             ng-cloak>            <div class="panel panel-primary charge-panel">                <div class="panel-heading clearfix charge-order-header charge-panel-heading">                    <button class="btn btn-default"                            ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree"                            ng-click="hideChargeItemTree()"                            title="隐藏列表">                        <span class="glyphicon glyphicon-chevron-left"></span>                    </button>                    <button class="btn btn-default"                            ng-hide="chargeOrderPriceHandle.isBilled()||!isHideChargeItemTree"                            ng-click="showChargeItemTree()"                            title="显示列表">                        <span class="glyphicon glyphicon-chevron-right"></span>                    </button>                    <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"                                            charge-item-type="chargeItemType"></charge-item-combo-box-view>                    <div class="print-preview" ng-show="!chargeOrderPriceHandle.isBilled()">                        <button class="btn btn-default"                                ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                                ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                            保存并划价预览                        </button>                    </div>                </div>                <div class="panel-body charge-order-body">                    <div class="charge-order-action-group">                        <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                           charge-order-event-info="sourceOrderEventInfo"                                                           membership-assist="membershipAssist"                                                           patient-assist="patientAssist"></charge-order-receivable-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"                                                        membership-assist="membershipAssist"                                                        patient-assist="patientAssist"></charge-order-payment-info-view>                    </div>                    <div class="charge-order-action-group">                        <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       appointment-assist="appointmentAssist"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"                                                       yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="chargeOrderPriceHandle.isBilled()">                        <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                            charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                    </div>                    <div class="charge-order-action-group" ng-if="!chargeOrderPriceHandle.isBilled()">                        <charge-yibao-order-last-action-info-gdgz-view charge-order-price-handle="chargeOrderPriceHandle"                                                                       charge-order-event-info="sourceOrderEventInfo"                                                                       yibao-charge-handler-center="yibaoChargeHenderCenter"></charge-yibao-order-last-action-info-gdgz-view>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/yibao/charge-edit-yibao-order-jxfz-view.html','<div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">    <charge-yibao-patient-info-view area-code="\'jxfz\'"                                    yibao-patient-info="yibaoWorkflowManager.yibaoPatientInfo"                                    operator-code="yibaoWorkflowManager.employeeNo"                                    operator-name="yibaoWorkflowManager.operatorName"                                    ng-show="yibaoChargeHenderCenter.insuranceInfo.status > 1"                                    ng-cloak></charge-yibao-patient-info-view>    <div class="charge-item-tree-wrap col-md-3"         ng-show="!isHideChargeItemTree"         ng-cloak>        <charge-item-select-tree-view item-type="chargeItemType"                                      charge-order-event-info="sourceOrderEventInfo"                                      on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"></charge-item-select-tree-view>    </div>    <div class="charge-order-handle"         ng-class="isHideChargeItemTree?\'col-md-12\':\'col-md-9\'"         ng-cloak>        <div class="panel panel-primary charge-panel">            <div class="panel-heading clearfix charge-order-header charge-panel-heading">                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree"                        ng-click="hideChargeItemTree()"                        title="隐藏列表">                    <span class="glyphicon glyphicon-chevron-left"></span>                </button>                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||!isHideChargeItemTree"                        ng-click="showChargeItemTree()"                        title="显示列表">                    <span class="glyphicon glyphicon-chevron-right"></span>                </button>                <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"></charge-item-combo-box-view>                <div class="print-preview" ng-show="!chargeOrderPriceHandle.isBilled()">                    <button class="btn btn-default"                            ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                            ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                        保存并划价预览                    </button>                </div>            </div>            <div class="panel-body charge-order-body">                <div class="charge-order-action-group">                    <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"></charge-order-receivable-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                    charge-order-event-info="sourceOrderEventInfo"                                                    membership-assist="membershipAssist"                                                    patient-assist="patientAssist"></charge-order-payment-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"                                                   appointment-assist="appointmentAssist"                                                   membership-assist="membershipAssist"                                                   patient-assist="patientAssist"                                                   yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                </div>                <div class="charge-order-action-group" ng-if="chargeOrderPriceHandle.isBilled()">                    <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"></charge-order-last-action-info-view>                </div>                <div class="charge-order-action-group" ng-if="!chargeOrderPriceHandle.isBilled()">                    <charge-yibao-order-last-action-info-jxfz-view charge-order-price-handle="chargeOrderPriceHandle"                                                                   charge-order-event-info="sourceOrderEventInfo"                                                                   yibao-charge-handler-center="yibaoChargeHenderCenter"></charge-yibao-order-last-action-info-jxfz-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/charge/views/yibao/charge-edit-yibao-order-sz-view.html','<div class="charge-order-handle-wrap row" style="margin-left:0;margin-right:0">    <div ng-hide="yibaoChargeHenderCenter.insuranceInfo.status > 0"         style="text-align: center; font-size: larger; margin-top: 50px;"         ng-cloak>        <span >医保收费，请先</span><a ng-click="yibaoWorkflowManager.showReadingCardDialog()">读取患者IC卡</a>    </div>    <charge-yibao-patient-info-view yibao-patient-info="yibaoWorkflowManager.yibaoPatientInfo"                                    operator-code="yibaoWorkflowManager.operatorCode"                                    operator-name="yibaoWorkflowManager.operatorName"                                    ng-show="yibaoChargeHenderCenter.insuranceInfo.status > 0"                                    ng-cloak></charge-yibao-patient-info-view>    <div class="charge-item-tree-wrap col-md-3"         ng-show="!isHideChargeItemTree && yibaoChargeHenderCenter.insuranceInfo.status > 0"         ng-cloak>        <charge-item-select-tree-view item-type="chargeItemType"                                      charge-order-event-info="sourceOrderEventInfo"                                      on-select-item="sourceOrderEventInfo.detailEvent.onAddChargeDetails(chargeDetails)"></charge-item-select-tree-view>    </div>    <div class="charge-order-handle"         ng-show="yibaoChargeHenderCenter.insuranceInfo.status > 0"         ng-class="isHideChargeItemTree?\'col-md-12\':\'col-md-9\'"         ng-cloak>        <div class="panel panel-primary charge-panel">            <div class="panel-heading clearfix charge-order-header charge-panel-heading">                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||isHideChargeItemTree"                        ng-click="hideChargeItemTree()"                        title="隐藏列表">                    <span class="glyphicon glyphicon-chevron-left"></span>                </button>                <button class="btn btn-default"                        ng-hide="chargeOrderPriceHandle.isBilled()||!isHideChargeItemTree"                        ng-click="showChargeItemTree()"                        title="显示列表">                    <span class="glyphicon glyphicon-chevron-right"></span>                </button>                <charge-item-combo-box-view charge-order-event-info="sourceOrderEventInfo"                                            charge-order-price-handle="chargeOrderPriceHandle"                                            is-Yibao-Gateway-Enabled="isYibaoGatewayEnabled"></charge-item-combo-box-view>                <div class="print-preview" ng-show="!chargeOrderPriceHandle.isBilled()">                    <button class="btn btn-default"                            ng-click="sourceOrderEventInfo.printPreviewActionInfo.saveAndPrintPreview.event(this)"                            ng-disabled="sourceOrderEventInfo.printPreviewActionInfo.printPreview.isDisabled()">                        保存并划价预览                    </button>                </div>            </div>            <div class="panel-body charge-order-body">                <div class="charge-order-action-group">                    <charge-order-receivable-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                       charge-order-event-info="sourceOrderEventInfo"                                                       membership-assist="membershipAssist"                                                       patient-assist="patientAssist"></charge-order-receivable-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-payment-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                    charge-order-event-info="sourceOrderEventInfo"                                                    membership-assist="membershipAssist"                                                    patient-assist="patientAssist"></charge-order-payment-info-view>                </div>                <div class="charge-order-action-group">                    <charge-order-extend-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                   charge-order-event-info="sourceOrderEventInfo"                                                   appointment-assist="appointmentAssist"                                                   membership-assist="membershipAssist"                                                   patient-assist="patientAssist"                                                   yibao-workflow-manager="yibaoWorkflowManager"></charge-order-extend-info-view>                </div>                <div class="charge-order-action-group" ng-if="chargeOrderPriceHandle.isBilled()">                    <charge-order-last-action-info-view charge-order-price-handle="chargeOrderPriceHandle"                                                        charge-order-event-info="sourceOrderEventInfo"></charge-order-last-actoin-info-view>                </div>                <div class="charge-order-action-group" ng-if="!chargeOrderPriceHandle.isBilled()">                    <charge-yibao-order-last-action-info-sz-view charge-order-price-handle="chargeOrderPriceHandle"                                                                 charge-order-event-info="sourceOrderEventInfo"                                                                 yibao-charge-handler-center="yibaoChargeHenderCenter"></charge-yibao-order-last-action-info-sz-view>                </div>            </div>        </div>    </div></div>');})();